From 557b05db623a0e542c02d7fc0fba770b7523b600 Mon Sep 17 00:00:00 2001 From: Timothy Yin Date: Wed, 22 Jan 2025 20:41:47 +0800 Subject: [PATCH] fix: disable ssr --- .gitea/workflows/deploy.yml | 3 ++- nuxt.config.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 467ea65..32dbf8d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -10,7 +10,8 @@ on: jobs: deploy: # runs-on: ${{ variables.RUN_ON }} - runs-on: macos-latest + # runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/nuxt.config.ts b/nuxt.config.ts index 9af3f2f..72a705e 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -2,6 +2,8 @@ export default defineNuxtConfig({ devtools: { enabled: true }, + ssr: false, + runtimeConfig: { public: { API_BASE: 'https://service1.fenshenzhike.com/',