Skip to content

Commit a823066

Browse files
committed
Fix ssr problems
1 parent 050e304 commit a823066

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

components/Cursor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const cursorStore = useCursorStore();
1515
<div
1616
v-show="cursorStore.visibility === CursorVisible"
1717
aria-hidden="true"
18+
class="cursor"
1819
:class="[
1920
$style.cursor,
2021
{ [$style.cursorDarkTheme]: themeStore.isDark,

docker-compose-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
context: .
66
dockerfile: docker/frontend/build/Dockerfile
77
ports:
8-
- '3001:3000'
8+
- '3000:3000'
99
restart: on-failure
1010
working_dir: /var/www/html
1111
stdin_open: true

nuxt.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ export default defineNuxtConfig({
3535
],
3636
},
3737
},
38-
routeRules: {
39-
'/': { prerender: true },
40-
'/sitemap.xml': { prerender: true },
41-
},
4238
runtimeConfig: {
4339
public: {
4440
baseUrl: process.env.BASE_URL,
@@ -47,6 +43,7 @@ export default defineNuxtConfig({
4743
i18n: {
4844
strategy: 'no_prefix',
4945
langDir: 'locales',
46+
defaultLocale: 'en',
5047
locales: [
5148
{
5249
code: 'en',

0 commit comments

Comments
 (0)