💚 Potential fix for internal next auth url

This commit is contained in:
Manuel
2023-08-05 10:36:07 +02:00
parent 4d6b120864
commit 5ee740bd67
4 changed files with 4 additions and 4 deletions

View File

@@ -20,6 +20,5 @@ EXPOSE 7575
ENV PORT 7575
ENV NEXTAUTH_SECRET NOT_IN_USE_BECAUSE_JWTS_ARE_UNUSED
ENV NEXTAUTH_URL_INTERNAL http://homarr:7575
CMD ["sh", "./scripts/run.sh"]

View File

@@ -20,4 +20,5 @@ module.exports = withBundleAnalyzer({
permanent: false,
},
],
env: process.env.NEXTAUTH_URL_INTERNAL || process.env.HOSTNAME || 'http://localhost:3000',
});

View File

@@ -75,7 +75,7 @@
"i18next": "^22.5.1",
"js-file-download": "^0.4.12",
"next": "13.4.10",
"next-auth": "^4.21.0",
"next-auth": "^4.22.3",
"next-i18next": "^13.0.0",
"nzbget-api": "^0.0.3",
"prismjs": "^1.29.0",

View File

@@ -5904,7 +5904,7 @@ __metadata:
i18next: ^22.5.1
js-file-download: ^0.4.12
next: 13.4.10
next-auth: ^4.21.0
next-auth: ^4.22.3
next-i18next: ^13.0.0
node-mocks-http: ^1.12.2
nzbget-api: ^0.0.3
@@ -7360,7 +7360,7 @@ __metadata:
languageName: node
linkType: hard
"next-auth@npm:^4.21.0":
"next-auth@npm:^4.22.3":
version: 4.22.3
resolution: "next-auth@npm:4.22.3"
dependencies: