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
The console will show something like "open templetes/head.html file not exist" and which leads to the web ui failure.
I have solved the problem by adding
fname=strings.ReplaceAll(fname, "\\", "/")
which means change the Windows like separator into Unix like separator, before the filename sends to fs.Readfile()
However, maybe my solution is not so perfect and may cause other problems, could you please check if my solution always work nice or fix it with another way?
The text was updated successfully, but these errors were encountered:
The console will show something like
"open templetes/head.html file not exist"
and which leads to the web ui failure.I have solved the problem by adding
which means change the Windows like separator into Unix like separator, before the filename sends to
fs.Readfile()
However, maybe my solution is not so perfect and may cause other problems, could you please check if my solution always work nice or fix it with another way?
The text was updated successfully, but these errors were encountered: