Skip to content

Fix Syncfusion license configuration - #15

Open
chrispaulintheory wants to merge 1 commit into
flashvenom:publicfrom
chrispaulintheory:fix-syncfusion-license-pr
Open

chrispaulintheory wants to merge 1 commit into
flashvenom:publicfrom
chrispaulintheory:fix-syncfusion-license-pr

Conversation

@chrispaulintheory

Copy link
Copy Markdown

Load the Syncfusion license key from the project-local environment file instead of using the hardcoded placeholder.

@chrispaulintheory

Copy link
Copy Markdown
Author

The .env file is here "src/Quickfire.Blazor/.env" and so I needed to be clear about the path with:

Env.Load(Path.Combine(builder.Environment.ContentRootPath, ".env"));

Also, Env.Load() may overwrite a production value with the .env value. Env.NoClobber().Load() preserves the production value and if no value already exists, it will load the value from .env normally. This gives deployment/server configuration priority while still supporting local .env.

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

Successfully merging this pull request may close these issues.

1 participant