Skip to content

Commit

Permalink
add BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Jul 14, 2024
1 parent 203b5bc commit 639a5b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/app-template/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<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';
import environment from './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 src="/@embroider/core/test-entrypoint" type="module"></script>

{{content-for "body-footer"}} {{content-for "test-body-footer"}}
Expand Down
2 changes: 1 addition & 1 deletion tests/ts-app-template/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<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';
import environment from './config/environment';
Expand Down

0 comments on commit 639a5b1

Please sign in to comment.