Prerequisites
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- What is your product version? Lastest Zero
- What is your product type (Angular or MVC)? Angular
- What is product framework type (.net framework or .net core)? .netCore
My question is similar to #7063.
I got my certificates set up on both Client (angular)and Server(Core API). The CorsOrigins setting in appsetting.json is using ip address, if my certificate is signed to www.rtime.com.au and my accessing url will be www.myco.com.au:4432 to my anguar client for example, do i then change the CorsOrigins to the www.myco.com.au, like
"App": { "ServerRootAddress": "https://www.myco.com.au:4439/", "ClientRootAddress": "https://www.myco.com.au:4432/", "CorsOrigins": "https://www.myco.com.au:4432" },
2 Answer(s)
-
0
Hi @lweng567
You can use multiple URLs in CorsOrigins. So, you can write;
"CorsOrigins": "https://www.myco.com.au,https://www.myco.com.au:4432"
Have you tried this ?
-
0
Yes, tried it. It works