Skip to main content
Solved

Developer mode for Indicium

  • January 3, 2023
  • 1 reply
  • 65 views

Blommetje
Forum|alt.badge.img+13

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 

 

Best answer by Anne Buit

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.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 638 replies
  • Answer
  • January 3, 2023

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings