mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Fixed the extra slash
This commit is contained in:
parent
fb59f232e0
commit
b90ef2148b
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ namespace Ombi
|
|||
}
|
||||
var indexHtml = await File.ReadAllTextAsync(indexPath);
|
||||
indexHtml = indexHtml.Replace("<script type='text/javascript'>window[\"baseHref\"] = '/';</script>"
|
||||
, $"<script type='text/javascript'>window[\"baseHref\"] = '{baseUrl}';</script><base href=\"{baseUrl}/\">", StringComparison.InvariantCultureIgnoreCase);
|
||||
, $"<script type='text/javascript'>window[\"baseHref\"] = '{baseUrl}';</script><base href=\"{baseUrl}\">", StringComparison.InvariantCultureIgnoreCase);
|
||||
|
||||
await File.WriteAllTextAsync(indexPath, indexHtml);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue