From ee6b1efd6b813242105d94f7499df8f16bb32ad0 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Thu, 5 Sep 2024 08:59:11 +1000 Subject: [PATCH] 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. --- Makefile | 2 +- arrow.min.mjs => arrow.min.js | 0 index.html | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename arrow.min.mjs => arrow.min.js (100%) diff --git a/Makefile b/Makefile index acb39fd..afed330 100644 --- a/Makefile +++ b/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/ diff --git a/arrow.min.mjs b/arrow.min.js similarity index 100% rename from arrow.min.mjs rename to arrow.min.js diff --git a/index.html b/index.html index f6ad226..fb165ca 100644 --- a/index.html +++ b/index.html @@ -64,7 +64,7 @@ body { }