aboutsummaryrefslogtreecommitdiffstats
path: root/app/svelte.config.js
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-10-20 18:22:01 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-10-20 18:27:51 -0500
commit130f64be02326e7b9d43638f3db8c6c3a86f846b (patch)
tree46c578edcc1b3e585ba63b3798d9a792a7100f3e /app/svelte.config.js
parente (diff)
downloadtrinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar.gz
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar.bz2
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar.lz
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar.xz
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar.zst
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.zip
change URL
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'app/svelte.config.js')
-rw-r--r--app/svelte.config.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/svelte.config.js b/app/svelte.config.js
index 9484cb8..6200fb3 100644
--- a/app/svelte.config.js
+++ b/app/svelte.config.js
@@ -10,6 +10,9 @@ const config = {
kit: {
adapter: adapter(),
+ paths: {
+ base: process.env.NODE_ENV === "production" ? "/random-stuff" : "",
+ }
},
}
export default config