altmp / altv-issues

Issues and roadmap for alt:V project
92 stars 17 forks source link

Ressource Start with CDN copy file to cdn_upload to not crash the client #2286

Open BluePeer opened 3 weeks ago

BluePeer commented 3 weeks ago

Description of the problem

after the last changes on CDN and Internal Webserver and Client download Source Location.

We need a change in server that copy the generated resource file to cdn_upload directory on the case a server start a client-side resource, to not crash, related to download a 404 not found resource from the cdn directory.

currently it is not possible to start a "fresh" client-script resource with cdn active related to the 404 resource download (client crash)

Desired solution for the problem

add a copy instruction after the generate of the .resourcefile to the cdn_upload directory if CDN is enabled before the client get the download call

Alternatives you considered

No response

Additional context

No response