Replies: 1 comment
-
I am using Ubuntu and I am following this guide to setup my project locally https://docs.tooljet.com/docs/contributing-guide/setup/ubuntu. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am following the setup guide to contribute but not able to setup fully only Frontend run successfully but when run backend server it connected to local postgres but when frontend app request api like /api/session and /api/config it throw forbidden error.
INFO [04/30/2023, 1:25:48 PM UTC] (16859 on satishs-MacBook-Air.local): request completed
res: {
"statusCode": 422,
"headers": {
"x-powered-by": "Express",
"access-control-allow-origin": "http://localhost:8082",
"vary": "Origin, Accept-Encoding",
"access-control-allow-credentials": "true",
"content-security-policy": "img-src * data: blob:;script-src maps.googleapis.com storage.googleapis.com apis.google.com accounts.google.com 'self' 'unsafe-inline' 'unsafe-eval' blob: https://unpkg.com/@babel/[email protected]/babel.min.js https://unpkg.com/[email protected]/umd/react.production.min.js https://unpkg.com/[email protected]/umd/react-dom.production.min.js cdn.skypack.dev cdn.jsdelivr.net;default-src maps.googleapis.com storage.googleapis.com apis.google.com accounts.google.com *.sentry.io 'self' blob:;connect-src ws://localhost 'self' *;frame-ancestors ;frame-src ;base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;object-src 'none';script-src-attr 'none';style-src 'self' https: 'unsafe-inline'",
"content-type": "application/json; charset=utf-8",
"content-length": "129",
"etag": "W/"81-ZKRQPv6WaaD/ArXiYzfDeFA5iPU""
}
}
responseTime: 14
req: {
"id": 53,
"method": "GET",
"url": "/api/metadata",
"query": {},
"params": {
"0": "/metadata"
},
"headers": {
"host": "localhost:3000",
"connection": "keep-alive",
"sec-ch-ua": ""Chromium";v="112", "Google Chrome";v="112", "Not:A-Brand";v="99"",
"sec-ch-ua-platform": ""macOS"",
"sec-ch-ua-mobile": "?0",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36",
"content-type": "application/json",
"accept": "/",
"origin": "http://localhost:8082",
"sec-fetch-site": "same-site",
"sec-fetch-mode": "cors",
"sec-fetch-dest": "empty",
"referer": "http://localhost:8082/",
"accept-encoding": "gzip, deflate, br",
"accept-language": "en-GB,en-US;q=0.9,en;q=0.8"
},
"remoteAddress": "127.0.0.1",
"remotePort": 56278
}
Beta Was this translation helpful? Give feedback.
All reactions