Looks like my app is unable to access my resources folder. Following the build I get this error in my web tools console:
Not allowed to load local resource: file:///D:/Documents/Programming/MSFS2020/pkg/client_ui/output/windows-amd64/pkg/client_ui/ui/resources/app/index.html
file:///D:/Documents/Programming/MSFS2020/pkg/client_ui is where my main.go is and my resource folder is indeed in file:///D:/Documents/Programming/MSFS2020/pkg/client_ui/ui/resources. My bundler.json is very simple as follows:
I build from the location D:\Documents\Programming\MSFS2020\pkg\client_ui
Wondering if I've done something wrong?
It seems to suggest that the pkg file generated when first running my exe should product the ui folder however it only produces the vendor folder.
Looks like my app is unable to access my resources folder. Following the build I get this error in my web tools console:
Not allowed to load local resource: file:///D:/Documents/Programming/MSFS2020/pkg/client_ui/output/windows-amd64/pkg/client_ui/ui/resources/app/index.html
file:///D:/Documents/Programming/MSFS2020/pkg/client_ui is where my main.go is and my resource folder is indeed in file:///D:/Documents/Programming/MSFS2020/pkg/client_ui/ui/resources. My bundler.json is very simple as follows:
I build from the location
D:\Documents\Programming\MSFS2020\pkg\client_ui
Wondering if I've done something wrong? It seems to suggest that the pkg file generated when first running my exe should product the ui folder however it only produces the vendor folder.