Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting basePath to demo environment does not work #10

Open
niebuhrFirstcon opened this issue Nov 15, 2022 · 3 comments
Open

Setting basePath to demo environment does not work #10

niebuhrFirstcon opened this issue Nov 15, 2022 · 3 comments

Comments

@niebuhrFirstcon
Copy link

SetBasePath(string.IsNullOrEmpty(configuration.BasePath) ? configuration.BasePath : Production_REST_BasePath);

This line states, that my basePath will only be used, if it is null or empty. Or do i miss something?

@InbarGazit
Copy link
Member

No, this lines means we default to production, if you do not set anything. We set it to what you have in the configuration object, but if you have nothing (null or empty) we default to Production_REST_BasePath

@niebuhrFirstcon
Copy link
Author

Isn't there a ! missing in front of the string.IsNullOrEmpty? I don't get it... I cloned the repo and set the !, now it works for me...

@InbarGazit InbarGazit reopened this Nov 16, 2022
@kenharris
Copy link

Thanks for your report @niebuhrFirstcon - this does indeed look like a bug. Our team will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants