You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From example code in this repo I believe prefix is supposed to contain the leading slash(/). If that's true, prefix will become "//cloudcmd/" and the script path to register will become "//cloudcmd/sw.js":
That's exactly how the 'https://cloudcmd' in the error message comes in. Obviously the intended path is "/cloudcmd/sw.js", so I believe `/${prefix}/` should be `${prefix}/`.
Am I right?
The text was updated successfully, but these errors were encountered:
Hi,
I'm using cloudcmd behind a proxy, so I set
prefix
to"/cloudcmd"
, then I found that the browser console gave an error saying:Digging into the source I found this line of code:
cloudcmd/client/sw/register.js
Line 9 in 15abcee
From example code in this repo I believe
prefix
is supposed to contain the leading slash(/
). If that's true,prefix
will become"//cloudcmd/"
and the script path to register will become"//cloudcmd/sw.js"
:cloudcmd/client/sw/register.js
Line 22 in 15abcee
That's exactly how the
'https://cloudcmd'
in the error message comes in. Obviously the intended path is"/cloudcmd/sw.js"
, so I believe`/${prefix}/`
should be`${prefix}/`
.Am I right?
The text was updated successfully, but these errors were encountered: