Pixi.js requests image resources across domains

problem description

pixijs

the environmental background of the problems and what methods you have tried

loader.add`crossOrigin: true`cors

related codes

   


where do you configure Access-Control-Allow-Origin


it turns out that my cors middleware is misplaced and written behind the static resource middleware, so that cors will not be executed after matching the picture.

cors middleware should be written in front of static resource middleware

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45e45-44b6d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45e45-44b6d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?