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 ed594e9 commit 754966dCopy full SHA for 754966d
api/dev/configs/api.json
@@ -1,5 +1,5 @@
1
{
2
- "version": "4.22.2",
+ "version": "4.25.2",
3
"extraOrigins": [],
4
"sandbox": true,
5
"ssoSubIds": [],
web/src/components/Wrapper/auto-mount.ts
@@ -35,6 +35,11 @@ function initializeGlobalDependencies() {
35
36
// Initialize when DOM is ready
37
if (typeof window !== 'undefined') {
38
+ // In dev, set a mock session cookie so requests are authenticated
39
+ if (import.meta.env.DEV) {
40
+ document.cookie = 'unraid_session_cookie=mockusersession; path=/; SameSite=Lax';
41
+ }
42
+
43
// Initialize global dependencies
44
initializeGlobalDependencies();
45
0 commit comments