diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-02-04 12:43:07 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-02-04 12:43:07 -0600 |
| commit | 5406cfcc457a738226945b40acce067c349579dc (patch) | |
| tree | a94986b6a564668f44d4c560d868c6f7a6e497be /src | |
| parent | 6de4763df03c5bcbfceb60df25e6e8b36f2e32ad (diff) | |
| download | slskd-5406cfcc457a738226945b40acce067c349579dc.tar.gz | |
fix typo
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 65a42522..5674aa2b 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -815,7 +815,7 @@ namespace slskd // prepend the url base. app.UsePathBase(urlBase); app.UseHTMLRewrite("((\\.)?\\/static)", $"{(urlBase == "/" ? string.Empty : urlBase)}/static"); - app.UseHTMLInjection($"<script>window.urlBase=\"{urlBase};window.port={OptionsAtStartup.Web.Port}=\"</script>", excludedRoutes: new[] { "/api", "/swagger" }); + app.UseHTMLInjection($"<script>window.urlBase=\"{urlBase}\";window.port={OptionsAtStartup.Web.Port}</script>", excludedRoutes: new[] { "/api", "/swagger" }); Log.Information("Using base url {UrlBase}", urlBase); // serve static content from the configured path |
