Skip to content

Commit 97ec2be

Browse files
docs(deployment): environment variables and static assets, again
1 parent 22dc447 commit 97ec2be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

troubleshooting/deployment.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ The Blazor framework is relatively new and there may be unexpected complications
3838
At the time of writing, sometimes the following issues have been reported that pertain to the Telerik UI for Blazor suite:
3939

4040
* `404 not found for telerik-blazor.js` - this indicates that the framework did not copy our static assets to the publish location.
41-
* Solutions are available in the [JS Errors - Missing File]({%slug troubleshooting-js-errors%}#missing-file) article.
41+
* Some solutions are available in the [JS Errors - Missing File]({%slug troubleshooting-js-errors%}#missing-file) article.
42+
* It seems that only `"ASPNETCORE_ENVIRONMENT": "Development"` copies the static assets properly, using a different environment name (either the built-in `Production` and `Staging`, or custom name) seems to break the static assets. Hopefully, this will be fixed in the framework.
4243
* Some reports indicate that deploying to a Docker container never copies over the static assets and you may have to either copy the file manually, or use it from our CDN.
4344
* `Trial Message` - if the machine that performs the build has access to a trial version of our NuGet package, the framework may get confused and copy a trial assembly to the publish location and you may see the trial messages live. Solutions are available in the [Upgrade Troubleshooting - I Still See the Trial Message]({%slug upgrade-tutorial%}#i-still-see-the-trial-message) article.
4445

@@ -49,4 +50,4 @@ We have also had reports that hosting a Server-side Blazor app on a cloud servic
4950
## See Also
5051

5152
* [I Still See the Trial Message]({%slug upgrade-tutorial%}#i-still-see-the-trial-message)
52-
* [Missing JS Interop File]({%slug troubleshooting-js-errors%}#missing-file)
53+
* [Missing JS Interop File]({%slug troubleshooting-js-errors%}#missing-file)

0 commit comments

Comments
 (0)