You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all, i love the idea of the project. thanks so much for making this :)
I cant seem to get past the cors policy blocker.
My setup:
agator runs on localhost:8888
apigator runs on localhost:3000
local pg instance runs on localhost:5432
in backend set up you say one needs to fill in the databaseURL in config.js
i did the following
'''
export const databaseConfig = {
'databaseURL': 'postgresql://apigator9999:apigator9999@localhost:5432/apigator9999_development'
};
''''
when trying to execute a request from the front end i get a CORS error. which seems to stem from the postgres server not allowing access from localhost:8888
i am a little lost, why i need to provide the pg db link to the front-end, if we have an api that should do that.
any help would be much appreciated.
The text was updated successfully, but these errors were encountered:
first of all, i love the idea of the project. thanks so much for making this :)
I cant seem to get past the cors policy blocker.
My setup:
agator runs on localhost:8888
apigator runs on localhost:3000
local pg instance runs on localhost:5432
in backend set up you say one needs to fill in the databaseURL in config.js
i did the following
'''
export const databaseConfig = {
'databaseURL': 'postgresql://apigator9999:apigator9999@localhost:5432/apigator9999_development'
};
''''
when trying to execute a request from the front end i get a CORS error. which seems to stem from the postgres server not allowing access from localhost:8888
i am a little lost, why i need to provide the pg db link to the front-end, if we have an api that should do that.
any help would be much appreciated.
The text was updated successfully, but these errors were encountered: