You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-11-06 09:19:31 +02:00
Addining subpath support (#241)
* Addining subpath support * Fixing a subpath problem in suburls * Using the server root for allow subpaths * Fixing baseURL variable name * Some improvements * Making it work in mattermost plugin * Fixing eslint warnings * Fixing cypress tests
This commit is contained in:
@@ -67,7 +67,7 @@ class ViewController:
|
||||
private func updateSessionToken() {
|
||||
let appDelegate = NSApplication.shared.delegate as! AppDelegate
|
||||
let script = WKUserScript(
|
||||
source: "localStorage.setItem('sessionId', '\(appDelegate.sessionToken)');",
|
||||
source: "localStorage.setItem('focalboardSessionId', '\(appDelegate.sessionToken)');",
|
||||
injectionTime: .atDocumentStart,
|
||||
forMainFrameOnly: true
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user