denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

How to rewrite the code of a deployment? #589

Open xxyuze opened 10 months ago

xxyuze commented 10 months ago

In the domain name list, the deployed domain name and the main domain name are placed together, I mistakenly thought they had the same function. I printed and distributed the QR code of the deployed domain name. Later, I found out that this was only for one deployment, and even though I updated the program, the domain name still remained the same. Is there any remedy now? Because the QR codes have already been printed and distributed, at the very least, I hope that the original domain name, for that deployment, can be redirected to the main domain name if I can modify the code... Thank you very much!

donjo commented 10 months ago

Hi @xxyuze,

Unfortunately those URLs are linked to individual immutable deployments and can't be changed so there isn't really a way to update the past deployments.

However, your issue does point to the need for us to better label the URLs so folks can understand the difference between them. I'll leave this issue open as one to reference once we push a change to clarify that a bit more.

xxyuze commented 10 months ago

Can you provide a solution? Because the application name may change, I didn't choose to use a main domain name composed of the name, but instead chose another domain name that looks like a unique ID for the application.

The QR codes have already been distributed. Can you provide a solution, such as setting the domain name for a specific deployment to redirect to the main domain name, or a switch to not keep deployment copies and have all domain names redirect to the main domain name?