- commit
- 6f9ae00036ea13601a66aadc067a932bc9f28387
- parent
- 9b32b08154ba723ff956db722d5e25bd04d46f45
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-05-03 13:07
rename back to js from mjs nginx uses wrong mime type
Diffstat
M | index.html | 2 | +- |
R | static/context.mjs -> static/context.js | 0 | |
R | static/index.mjs -> static/index.js | 4 | ++-- |
R | static/signal.mjs -> static/signal.js | 0 |
4 files changed, 3 insertions, 3 deletions
diff --git a/index.html b/index.html
@@ -11,6 +11,6 @@ 11 11 <textarea autocomplete="off" autofocus placeholder="Collaborative editor 12 12 13 13 Warning: All text is deleted when the last person leaves."></textarea>14 -1 <script type="module" src="/static/index.mjs"></script>-1 14 <script type="module" src="/static/index.js"></script> 15 15 </body> 16 16 </html>
diff --git a/static/context.mjs b/static/context.js
diff --git a/static/index.mjs b/static/index.js
@@ -1,5 +1,5 @@1 -1 import * as context from './context.mjs';2 -1 import * as signal from './signal.mjs';-1 1 import * as context from './context.js'; -1 2 import * as signal from './signal.js'; 3 3 4 4 var room = location.hash.substr(1); 5 5 var id = signal.randomString(10);