I am running the example and have the compiled index.html in garrysmod/shared/example/index.html on the Garry's Mod server with gm_maskfs. When the example.lua is run on the client with cream:new("example"):load() it only shows a white page. If I copy index.html from the server to the client in resource/shared/example/index.html.dat the page loads just fine.
Is there any reason why the client is not downloading the .dat from the server? The resource.AddSingleFile from the Rust extension does not add the file to download. Only when manually added in a content.lua in lua/autorun/server does the file download. By overriding the resource.AddSingleFile the example and example1 .dat files are being added, but they do not download to the client unless I specifically type resource.AddSingleFile in lua/autorun/server/content.lua

I am running the example and have the compiled index.html in
garrysmod/shared/example/index.htmlon the Garry's Mod server with gm_maskfs. When the example.lua is run on the client withcream:new("example"):load()it only shows a white page. If I copy index.html from the server to the client inresource/shared/example/index.html.datthe page loads just fine.Is there any reason why the client is not downloading the .dat from the server? The resource.AddSingleFile from the Rust extension does not add the file to download. Only when manually added in a content.lua in
lua/autorun/serverdoes the file download. By overriding the resource.AddSingleFile the example and example1 .dat files are being added, but they do not download to the client unless I specifically typeresource.AddSingleFileinlua/autorun/server/content.lua