如何在 Qovery 上为 Strapi 设置提供程序?
How to setup Provider for Strapi on Qovery?
我在 Google 登录时收到此错误。
我确实使用 Strapi 在 Qovery 上进行了部署。
我该如何解决这个问题?
Invalid parameter value for redirect_uri: Raw IP addresses not allowed: http://0.0.0.0:1337/connect/google/callback
我忘记在server.js
上添加url
参数
然后:
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
});
现在:
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
url: env('URL', 'http://localhost:1337'),
});
文档 here.
我在 Google 登录时收到此错误。
我确实使用 Strapi 在 Qovery 上进行了部署。
我该如何解决这个问题?
Invalid parameter value for redirect_uri: Raw IP addresses not allowed: http://0.0.0.0:1337/connect/google/callback
我忘记在server.js
url
参数
然后:
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
});
现在:
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
url: env('URL', 'http://localhost:1337'),
});
文档 here.