-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Description
Here the screencast of the error
Console error:
Refused to connect to 'http://localhost:1337/admin/project-type' because it violates the following Content Security Policy directive: "connect-src 'self' https:".
Error: Network Error
at e.exports (main.dfa22c7a.js:2)
at XMLHttpRequest.y.onerror (main.dfa22c7a.js:2)
(anonimo) @ main.dfa22c7a.js:2
Server.js
module.exports = ({ env }) => ({
host: env('HOST', '127.0.0.1'),
port: env.int('PORT', 8000),
});
database js:
const path = require('path');
module.exports = ({ env }) => ({
connection: {
client: 'sqlite',
connection: {
filename: path.join(__dirname, '..', env('DATABASE_FILENAME', '.tmp/data.db')),
},
useNullAsDefault: true,
},
});
yalefresne, konstantin83, m7rlin, khunny7, dostuffthatmatters and 1 more
Metadata
Metadata
Assignees
Labels
No labels
