Solved

Developer mode for Indicium

  • 3 January 2023
  • 1 reply
  • 58 views

Userlevel 5
Badge +12

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 

 

icon

Best answer by Anne Buit 3 January 2023, 16:52

View original

This topic has been closed for comments

1 reply

Userlevel 7
Badge +5

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.