Failed to load resource: %UNITY_WEBGL_LOADER_URL%

I don’t know how it works exactly… but when i build WebGLTemplates,
It shows me this error.

Failed to load resource: the server responded with a status of 404 (Not Found) %UNITY_WEBGL_LOADER_URL%

can anyone tell me how to fix this?

[edited]
my webgl worked on Unity 2018 and not worked on Unity 2021.

I have the same problem. Did you find a solution?