Skip to main content

Hi, 

 

I want an Indicium to have all allowed as a value for the AllowedOrigins, so that we can debug some stuff we are trying. 

For this, I need to set Indicium to dev-mode; but when I check the manual it says; in web.config, do this and that. (see here:

https://docs.thinkwisesoftware.com/docs/deployment/indicium#running-indicium-in-development-mode

BUT, when I open the web.config file 

<configuration>
  <!--
    Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
  →

So, this is not making any sense to me. 

Should be create a appsettings.development.json with these allowedorigins? Or… is it a line of code in the current appsettings? 
 

And how can I set all as an allowed origin?

Thnx for any thoughts on this,

Alexander 

 

Hi,

You do need to edit the web.config and add the environment variable as described in the documentation you linked. The comment can be ignored - it refers to regular application settings.

Additionally, you need to configure the appsettings.json for the correct allowed origins. More info here.

I doubt any origin is currently configurable, can you get away with a set of specific hosts? Wildcards for subdomains are allowed.