Switch to render

This commit is contained in:
Jeremie Pardou-Piquemal 2022-10-24 21:38:26 +02:00 committed by Jérémie Pardou-Piquemal
parent 09010ff803
commit 85e7a8142c
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ jobs:
VITE_CI: 1 VITE_CI: 1
VITE_SOCKET_URL: https://public.jeremiez.net/ VITE_SOCKET_URL: https://public.jeremiez.net/
VITE_SOCKET_PATH: /wamp/socket.io VITE_SOCKET_PATH: /wamp/socket.io
VITE_API_ENDPOINT: https://ricochetjs.herokuapp.com/ VITE_API_ENDPOINT: https://ricochetjs.onrender.com
VITE_RICOCHET_SITEID: airboardgame VITE_RICOCHET_SITEID: airboardgame
ACTIONS_ALLOW_UNSECURE_COMMANDS: true ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- uses: actions/upload-artifact@v1 - uses: actions/upload-artifact@v1

View file

@ -38,7 +38,7 @@ jobs:
CYPRESS_INSTALL_BINARY: 0 CYPRESS_INSTALL_BINARY: 0
- run: | - run: |
cat <<EOF > ./dist/_redirects cat <<EOF > ./dist/_redirects
/api/* https://ricochetjs.herokuapp.com/:splat 200 /api/* https://ricochetjs.onrender.com/:splat 200
/* /index.html 200 /* /index.html 200
EOF EOF