Skip to content

Commit ddab99d

Browse files
authored
fix(sync): path to bookmarks.js file (#4)
1 parent c3e923c commit ddab99d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/Sync/BookmarkController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public ActionResult BookmarkJS(string token)
3030
{
3131
SetHeadersNoCache();
3232

33-
string plugin = FileCache.ReadAllText("plugins/bookmark.js", "bookmark.js")
33+
string plugin = FileCache.ReadAllText($"{ModInit.modpath}/plugins/bookmark.js", "bookmark.js")
3434
.Replace("{localhost}", host)
3535
.Replace("{token}", HttpUtility.UrlEncode(token));
3636

0 commit comments

Comments
 (0)