Skip to content

Commit

Permalink
Merge pull request #11386 from nanaya/rel-link
Browse files Browse the repository at this point in the history
Set correct base url for relative link
  • Loading branch information
notbakaneko authored Aug 2, 2024
2 parents a486125 + 042e841 commit 2654787
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
22 changes: 0 additions & 22 deletions resources/js/core/fix-relative-link.ts

This file was deleted.

3 changes: 0 additions & 3 deletions resources/js/osu-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import Captcha from 'core/captcha';
import ClickMenu from 'core/click-menu';
import CurrentUserObserver from 'core/current-user-observer';
import Enchant from 'core/enchant';
import FixRelativeLink from 'core/fix-relative-link';
import ForumPoll from 'core/forum/forum-poll';
import ForumPostEdit from 'core/forum/forum-post-edit';
import ForumPostInput from 'core/forum/forum-post-input';
Expand Down Expand Up @@ -60,7 +59,6 @@ export default class OsuCore {
readonly currentUserObserver;
readonly dataStore;
readonly enchant;
readonly fixRelativeLink;
readonly forumPoll;
readonly forumPostEdit;
readonly forumPostInput;
Expand Down Expand Up @@ -112,7 +110,6 @@ export default class OsuCore {
this.clickMenu = new ClickMenu();
this.currentUserObserver = new CurrentUserObserver(this);
this.currentUserModel = new UserModel(this);
this.fixRelativeLink = new FixRelativeLink();
this.forumPoll = new ForumPoll();
this.forumPostEdit = new ForumPostEdit();
this.forumPostInput = new ForumPostInput();
Expand Down
1 change: 1 addition & 0 deletions resources/views/master.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<head>
@include("layout.metadata")
<title>{!! $title !!}</title>
<base href="{{ Request::getSchemeAndHttpHost().Request::getRequestUri() }}" />
</head>

<body
Expand Down

0 comments on commit 2654787

Please sign in to comment.