I am having trouble packaging the zip for hosted test. I have all of the static files in a zip. Testing on localhost is working fine. My base path is https://localhost:3030/ and everything points to index.html
However, when I upload the zip, none of the files seem to be there. e.g. https://i0zjnnmfonj0bgv9cmqtlx1v9zaou8.ext-twitch.tv/index.html
I’m using a script to package the zip:
#!/bin/sh
# creates a clean zip of the client folder, ready to upload to twitch
cd $(dirname $0)/../client/www
zip -r -X /tmp/ext.zip *
mv /tmp/ext.zip $(dirname $0)/../../ext.zip
Here is the output of zipinfo:
drwxr-xr-x 3.0 unx 0 b- stor 19-Mar-01 17:58 assets/
drwxr-xr-x 3.0 unx 0 b- stor 19-Mar-09 12:38 assets/images/
-rw-r--r-- 3.0 unx 2062 b- defN 19-Mar-19 15:15 assets/images/bits.png
-rw-r--r-- 3.0 unx 219 t- defN 19-Mar-19 15:15 assets/images/arrow.svg
-rw-r--r-- 3.0 unx 734 t- defN 19-Mar-19 15:15 assets/images/lock-icon.svg
drwxr-xr-x 3.0 unx 0 b- stor 19-Feb-14 18:07 assets/icon/
-rw-r--r-- 3.0 unx 21096 b- defN 19-Mar-19 15:15 assets/icon/icon.png
-rw-r--r-- 3.0 unx 5055 b- defN 19-Mar-19 15:15 assets/icon/favicon.ico
drwxr-xr-x 3.0 unx 0 b- stor 19-Feb-14 18:10 build/
drwxr-xr-x 3.0 unx 0 b- stor 19-Mar-19 15:15 build/app/
-rw-r--r-- 3.0 unx 678 t- defN 19-Mar-19 15:15 build/app/app.registry.json
-rw-r--r-- 3.0 unx 633 t- defN 19-Mar-19 15:15 build/app/app.global.js
-rw-r--r-- 3.0 unx 86894 t- defN 19-Mar-20 11:54 build/app/app.core.js
-rw-r--r-- 3.0 unx 3348 t- defN 19-Mar-19 15:15 build/app/es5-build-disabled.js
-rw-r--r-- 3.0 unx 51488 t- defN 19-Mar-20 12:00 build/app/app-root.entry.js
-rw-r--r-- 3.0 unx 568 t- defN 19-Mar-19 15:15 build/app.css
-rw-r--r-- 3.0 unx 6041 t- defN 19-Mar-19 15:15 build/app.js
-rw-r--r-- 3.0 unx 791 t- defN 19-Mar-19 15:15 index.html
Do I need to restructure the files? What’s the issue?