Skip to content

No apis published, showing too many error in console after login #644

@ravineshappypie

Description

@ravineshappypie

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:
image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions