Skip to content

Commit

Permalink
fix: tweak nuxt config for fontaine use
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Jul 27, 2024
1 parent b7e68f5 commit dc61b8d
Show file tree
Hide file tree
Showing 6 changed files with 538 additions and 495 deletions.
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default defineNuxtConfig({
'nuxt-typed-router',
'@nuxtjs/robots',
'@nuxt/fonts',
'@nuxtjs/fontaine',
'@vueuse/nuxt',
'@pinia/nuxt',
'@pinia-plugin-persistedstate/nuxt',
Expand Down
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
"dependencies": {
"@iconify-json/flagpack": "1.1.14",
"@iconify-json/mdi": "1.1.67",
"@iconify-json/simple-icons": "1.1.109",
"@iconify-json/simple-icons": "1.1.110",
"@nuxt/fonts": "0.7.1",
"@nuxt/ui-pro": "npm:@nuxt/ui-pro-edge@latest",
"@nuxtjs/robots": "4.0.2",
"@pinia/nuxt": "0.5.1",
"@pinia/nuxt": "0.5.2",
"@protobuf-ts/grpcweb-transport": "2.9.4",
"@unovis/ts": "1.4.3",
"@unovis/vue": "1.4.3",
Expand All @@ -49,7 +49,7 @@
"mdi-vue3": "7.4.47",
"nuxt-update": "1.0.0",
"nuxt-zod-i18n": "1.9.0",
"pinia": "2.1.7",
"pinia": "2.2.0",
"slugify": "1.6.6",
"splitpanes": "3.1.5",
"uuid": "10.0.0",
Expand All @@ -63,7 +63,8 @@
"devDependencies": {
"@nuxt/devtools": "1.3.9",
"@nuxt/eslint-config": "0.3.13",
"@nuxtjs/i18n": "8.3.1",
"@nuxtjs/fontaine": "^0.4.3",
"@nuxtjs/i18n": "8.3.2",
"@pinia-plugin-persistedstate/nuxt": "1.2.1",
"@protobuf-ts/plugin": "2.9.4",
"@total-typescript/ts-reset": "0.5.1",
Expand All @@ -80,7 +81,7 @@
"@vueuse/router": "10.11.0",
"autoprefixer": "10.4.19",
"cssnano": "7.0.4",
"eslint": "9.7.0",
"eslint": "9.8.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-tailwindcss": "3.17.4",
Expand All @@ -90,7 +91,7 @@
"nuxt": "3.12.4",
"nuxt-icon": "0.6.10",
"nuxt-typed-router": "3.6.5",
"postcss": "8.4.39",
"postcss": "8.4.40",
"postcss-custom-properties": "13.3.12",
"postcss-import": "16.1.0",
"postcss-nesting": "12.1.5",
Expand All @@ -101,11 +102,11 @@
"protoc": "1.1.3",
"protoc-gen-js": "3.21.2",
"sass": "1.77.8",
"tailwindcss": "3.4.6",
"tailwindcss": "3.4.7",
"typescript": "5.5.4",
"vue": "3.4.33",
"vue": "3.4.34",
"vue-i18n-routing": "1.2.0",
"vue-tsc": "2.0.28"
"vue-tsc": "2.0.29"
},
"packageManager": "[email protected]"
}
1 change: 1 addition & 0 deletions pkg/server/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ func NewEngine(p EngineParams) *gin.Engine {
}),
grpcws.WithCorsForRegisteredEndpointsOnly(false),
grpcws.WithAllowNonRootResource(true),
grpcws.WithWebsocketPingInterval(40*time.Second),
)
ginWrappedGrpc := gin.WrapH(wrapperGrpc)
e.Any("/api/grpc", ginWrappedGrpc)
Expand Down
Loading

0 comments on commit dc61b8d

Please sign in to comment.