域名的名称是什么?
错误号是多少?
wu
您遇到的问题是什么?
work中的代码与前端不一致
您采取了哪些措施来解决该问题?
用API下载46个版本的脚本搜索其中的关键字Netsky,每个版本都没有,但是我前端正常运行的代码是有Netsky,这个Netsky并非变量是写死了的
重现该问题的步骤是什么?
Dear Cloudflare Support Team,
I hope you are having a great day.
I am writing to seek your assistance regarding a technical issue I encountered with my Worker script named “sub”. I’ve noticed a strange discrepancy between the production environment and the API responses, and I’m hoping you can help me understand why this is happening.
The Situation:
My Worker is currently live and functioning correctly. When I visit the public URL, the page displays the “Netsky” system (as seen in the attached screenshot).
However, when I try to retrieve or back up the source code via the Cloudflare API (GET /scripts/sub), the returned code is an older version of a different “Server Monitor” script. I have checked all 46 versions in the history, but they all seem to return the same outdated monitor script, even though the live site is clearly running the “Netsky” code.
My Questions:
Could you please help me check why the API might be serving different source code than what is actually deployed on the Edge nodes?
Is it possible that there is a synchronization delay or a caching issue between the script storage and the API delivery?
What would be the best way for me to successfully download the current live version of the “Netsky” source code for backup purposes?
I have attached screenshots of the live site and the API output for your reference. Any insights or guidance you can provide would be greatly appreciated.
Thank you very much for your time and help!
Best regards,