如何在配置文件中使用通配符?
问题描述:
在我的应用中,我想使用通配符来代替webconfig文件中的https://XXXXXX.com。
In my app, I want to use wildcard to use * to substitute the "https://XXXXXX.com" in the webconfig file.
<add name="Access-Control-Allow-Origin" value="https://XXXXXX.com" />
我应该遵循的程序是什么?谢谢。
我尝试过:
如何使用通配符在配置文件中?
What is the procedure I should follow to do so? Thanks.
What I have tried:
How to use wildcard in config file?
答
对于CORS字符串,a *用作通配符
For a CORS string, a * works as a wild card