We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi
I deployed in us-east-1 reason, Front page is working fine. But after login, I am not able to see any API, while I have putted the api.
In console many error is showing like:
I did some changes in "dev-portal-DevPortalLambdaFunction-fVvFzmSMwWTL" lambda function by assumption it may be CORS issue.
replaced app.use(cors())
By
app.use(cors({ origin: '', // Allow any origin methods: 'OPTIONS,POST,GET', allowedHeaders: 'Content-Type' })); app.options('', cors()); // Enable preflight requests for all routes
But still getting the issue. Please provide some resolution on this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
I deployed in us-east-1 reason, Front page is working fine.
But after login, I am not able to see any API, while I have putted the api.
In console many error is showing like:
I did some changes in "dev-portal-DevPortalLambdaFunction-fVvFzmSMwWTL" lambda function by assumption it may be CORS issue.
replaced app.use(cors())
By
app.use(cors({
origin: '', // Allow any origin
methods: 'OPTIONS,POST,GET',
allowedHeaders: 'Content-Type'
}));
app.options('', cors()); // Enable preflight requests for all routes
But still getting the issue. Please provide some resolution on this.
The text was updated successfully, but these errors were encountered: