1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-09-16 08:56:19 +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:
Jesús Espino
2021-04-16 13:42:37 +02:00
committed by GitHub
parent 8e2e503c32
commit 5ab3f8d3ce
17 changed files with 102 additions and 55 deletions

View File

@@ -145,8 +145,8 @@ namespace Focalboard {
}
private void WebView_ContentLoading(object sender, CoreWebView2ContentLoadingEventArgs e) {
// Set sessionId
string script = $"localStorage.setItem('sessionId', '{sessionToken}');";
// Set focalboardSessionId
string script = $"localStorage.setItem('focalboardSessionId', '{sessionToken}');";
webView.ExecuteScriptAsync(script);
}
}