Rename arrow.js file
Nginx doesn't have a default mapping for .mjs so doesn't serve it with the JavaScript MIME type, which upsets the browser.
This commit is contained in:
parent
14044374dd
commit
ee6b1efd6b
3 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -2,5 +2,5 @@ help:
|
|||
@echo deploy
|
||||
|
||||
deploy:
|
||||
rsync -avz arrow.min.js hardforze.binarytrance.com:infrastructure/volumes/www/7bit.org/
|
||||
rsync -avz index.html hardforze.binarytrance.com:infrastructure/volumes/www/7bit.org/trip-calculator.html
|
||||
rsync -avz arrow.min.mjs hardforze.binarytrance.com:infrastructure/volumes/www/7bit.org/
|
||||
|
|
0
arrow.min.mjs → arrow.min.js
vendored
0
arrow.min.mjs → arrow.min.js
vendored
|
@ -64,7 +64,7 @@ body {
|
|||
}
|
||||
</script>
|
||||
<script type="module">
|
||||
import { reactive, html } from './arrow.min.mjs';
|
||||
import { reactive, html } from './arrow.min.js';
|
||||
|
||||
const data = reactive({
|
||||
price: 194.9,
|
||||
|
|
Loading…
Reference in a new issue