Add openid configuration & well known

This commit is contained in:
2024-08-12 20:24:17 +08:00
parent 65cd4139f0
commit 52ebaa67a4
4 changed files with 42 additions and 2 deletions

View File

@@ -19,15 +19,23 @@ export default defineNuxtConfig({
public: {
siteUrl: "https://solsynth.dev",
solarRealmId: 2,
solarpassUrl: "https://id.solsynth.dev",
solarNetworkApi: "https://api.sn.solsynth.dev",
solianUrl: "https://sn.solsynth.dev",
},
},
routeRules: {
"/.well-known/openid-configuration": {
proxy: "/api/well-known/openid-configuration",
},
},
app: {
head: {
title: "Solsynth LLC",
titleTemplate: "%s | Solsynth",
meta: [],
link: [
{ rel: "icon", type: "image/png", href: "/favicon.png" },
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
@@ -50,7 +58,7 @@ export default defineNuxtConfig({
},
pinia: {
storesDirs: ['./stores/**'],
storesDirs: ["./stores/**"],
},
build: {