Skip to content

Commit

Permalink
add BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Sep 17, 2024
1 parent f7656a3 commit 2d9d790
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions tests/app-template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

{{content-for "head"}}

<link integrity="" rel="stylesheet" href="/@embroider/core/vendor.css">
<link integrity="" rel="stylesheet" href="/assets/app-template.css">
<link integrity="" rel="stylesheet" href="%BASE_URL%@embroider/core/vendor.css">
<link integrity="" rel="stylesheet" href="%BASE_URL%assets/app-template.css">

{{content-for "head-footer"}}
</head>
<body>
{{content-for "body"}}

<script src="/@embroider/core/vendor.js"></script>
<script src="%BASE_URL%@embroider/core/vendor.js"></script>
<script type="module">
import Application from './app/app';
import environment from './app/config/environment';
Expand Down
4 changes: 2 additions & 2 deletions tests/app-template/tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
</div>

<script src="/testem.js" integrity="" data-embroider-ignore></script>
<script src="/@embroider/core/vendor.js"></script>
<script src="/@embroider/core/test-support.js"></script>
<script src="%BASE_URL%/@embroider/core/vendor.js"></script>
<script src="%BASE_URL%/@embroider/core/test-support.js"></script>
<script type="module">import "ember-testing";</script>

<script type="module">
Expand Down
6 changes: 3 additions & 3 deletions tests/ts-app-template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

{{content-for "head"}}

<link integrity="" rel="stylesheet" href="/@embroider/core/vendor.css">
<link integrity="" rel="stylesheet" href="/assets/ts-app-template.css">
<link integrity="" rel="stylesheet" href="%BASE_URL%@embroider/core/vendor.css">
<link integrity="" rel="stylesheet" href="%BASE_URL%assets/ts-app-template.css">

{{content-for "head-footer"}}
</head>
<body>
{{content-for "body"}}

<script src="/@embroider/core/vendor.js"></script>
<script src="%BASE_URL%@embroider/core/vendor.js"></script>
<script type="module">
import Application from './app/app.ts';
import environment from './app/config/environment';
Expand Down

0 comments on commit 2d9d790

Please sign in to comment.