From be9307a950ba4d27a6d91e2c14a7c7d9c0bc27ec Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Fri, 23 Feb 2024 10:52:55 +0800 Subject: [PATCH] Update vite.config.ts --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index a67446c..b48c332 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -44,7 +44,7 @@ export default defineConfig({ Press({ baseUrl: process.env.NODE_ENV === 'development' ? 'https://localhost:5173' - : fs.existsSync('public/CNAME') ? fs.readFileSync('public/CNAME', 'utf-8').trim() : undefined, + : fs.existsSync('public/CNAME') ? 'https://' + fs.readFileSync('public/CNAME', 'utf-8').trim() : undefined, metadataPath: 'public/api', }), Layouts(),