This commit is contained in:
parent
7bf90733d5
commit
2ce8eb2e7a
|
|
@ -24,6 +24,9 @@ export const {
|
||||||
// ✅ 加这一行,信任所有 Host,彻底解决动态部署报错问题
|
// ✅ 加这一行,信任所有 Host,彻底解决动态部署报错问题
|
||||||
trustHost: true,
|
trustHost: true,
|
||||||
|
|
||||||
|
// ✅ 加这一行,防止缺失 secret 报错
|
||||||
|
secret: 'hardcoded-super-secret-key-please-change',
|
||||||
|
|
||||||
callbacks: {
|
callbacks: {
|
||||||
async jwt({ token, profile }) {
|
async jwt({ token, profile }) {
|
||||||
if (profile?.id) {
|
if (profile?.id) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue