How to allow all the subdomain of my main domain for the API using CORS_WILDCARD? #462

Open
opened 2025-11-09 09:50:10 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @nikunjmishra1998 on GitHub (Sep 27, 2024).

problem description

I want to allow only all of the subdomain of my main domain to access my API using CORS_WILDCARD. So please guide me How can I achieve this?
and if I add CORS_WILDCARD then also API is accessible from Postman. I want to disable API hit from postman also using CORS_WILDCARD.

your instance configuration

No response

Originally created by @nikunjmishra1998 on GitHub (Sep 27, 2024). ### problem description I want to allow only all of the subdomain of my main domain to access my API using CORS_WILDCARD. So please guide me How can I achieve this? and if I add CORS_WILDCARD then also API is accessible from Postman. I want to disable API hit from postman also using CORS_WILDCARD. ### your instance configuration _No response_
GiteaMirror added the instance hosting help label 2025-11-09 09:50:10 -06:00
Author
Owner

@wukko commented on GitHub (Sep 27, 2024):

#780?

@wukko commented on GitHub (Sep 27, 2024): #780?
Author
Owner

@wukko commented on GitHub (Sep 27, 2024):

why make two of the same exact issue?

@wukko commented on GitHub (Sep 27, 2024): why make two of the same exact issue?
Author
Owner

@nikunjmishra1998 commented on GitHub (Sep 27, 2024):

Please give me a way to achive it

@nikunjmishra1998 commented on GitHub (Sep 27, 2024): Please give me a way to achive it
Author
Owner

@kampride9 commented on GitHub (Sep 27, 2024):

I would also like to implement this feature. Could you please provide the steps for this?

@kampride9 commented on GitHub (Sep 27, 2024): I would also like to implement this feature. Could you please provide the steps for this?
Sign in to join this conversation.