From 3fc49d9d3720437bb6201e92cbc6b7319aaac078 Mon Sep 17 00:00:00 2001 From: Matt Karl Date: Wed, 10 Jan 2024 14:53:10 -0500 Subject: [PATCH] Fix: use relative pathing --- README.md | 4 ++-- bubbo-bubbo/package.json | 2 +- puzzling-potions/vite.config.js | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d6dda5d..dbcc1a2 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,11 @@ Below is a list of games that are currently available in this repository. Each g - Bubbo Bubbo - [Code](/bubbo-bubbo/README.md) - - [Play](https://bubbo-bubbo.netlify.app/) + - [Play](https://pixijs.io/open-games/bubbo-bubbo) - Puzzling Potions - [Code](/puzzling-potions/README.md) - - [Play](https://puzzling-potions.netlify.app/) + - [Play](https://pixijs.io/open-games/puzzling-potions) ## Tools diff --git a/bubbo-bubbo/package.json b/bubbo-bubbo/package.json index acd5dfa..ef2c5a6 100644 --- a/bubbo-bubbo/package.json +++ b/bubbo-bubbo/package.json @@ -12,7 +12,7 @@ "start": "vite --open", "clean": "rimraf dist/* public/* .assetpack/*", "prebuild": "run-s clean format:check lint assets types", - "build": "vite build", + "build": "vite build --base \"./\"", "assets": "assetpack", "prepreview": "run-s build", "preview": "vite preview --open", diff --git a/puzzling-potions/vite.config.js b/puzzling-potions/vite.config.js index a3f153c..f5d5d18 100644 --- a/puzzling-potions/vite.config.js +++ b/puzzling-potions/vite.config.js @@ -1,4 +1,5 @@ export default { + base: './', server: { host: true, port: 8000