From 6233496edec2c483bfc447908736002255f22d51 Mon Sep 17 00:00:00 2001 From: longwind48 Date: Sun, 15 Dec 2024 23:24:27 +0800 Subject: [PATCH] ci: rm output export from next.config.mjs to fix ssr --- frontend/firebase.json | 12 ++++-------- frontend/next.config.mjs | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/frontend/firebase.json b/frontend/firebase.json index b2d48bc..461fe72 100644 --- a/frontend/firebase.json +++ b/frontend/firebase.json @@ -1,17 +1,13 @@ { "hosting": { - "target": "staging", - "public": "out", + "source": ".", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ], - "rewrites": [ - { - "source": "**", - "destination": "/index.html" - } - ] + "frameworksBackend": { + "region": "asia-east1" + } } } diff --git a/frontend/next.config.mjs b/frontend/next.config.mjs index f9e64df..6e2ebc6 100644 --- a/frontend/next.config.mjs +++ b/frontend/next.config.mjs @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: 'export', + // output: 'export', env: { APP_ENV: process.env.APP_ENV || 'development', },