We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3e923c commit ddab99dCopy full SHA for ddab99d
1 file changed
Modules/Sync/BookmarkController.cs
@@ -30,7 +30,7 @@ public ActionResult BookmarkJS(string token)
30
{
31
SetHeadersNoCache();
32
33
- string plugin = FileCache.ReadAllText("plugins/bookmark.js", "bookmark.js")
+ string plugin = FileCache.ReadAllText($"{ModInit.modpath}/plugins/bookmark.js", "bookmark.js")
34
.Replace("{localhost}", host)
35
.Replace("{token}", HttpUtility.UrlEncode(token));
36
0 commit comments