minhchien0207
Senior Member
Ping so với cf worker ổn ko thím@Fioren sếp ơi!!!
Đã có code mới và hướng dẫn Deno mới. Sếp lên bài Deno lại đi. Mình làm theo được rồi, không biết có cần thêm variable gì không, không thêm vẫn xài được
https://docs.rethinkdns.com/dns/open-source/#deno-deploy
Code:This project can be hosted on deno.com/deploy and supports DoH only. User will be liable for deno.com billing. 1.Fork the serverless-dns repository (requires a GitHub account). 2.In the repository you just forked, click on the Actions tab and Confirm that you want to use Actions, if prompted. 3.Now, navigate to deno.com/deploy and Sign Up for an account. 4.Create a new project via the deno dashboard by just clicking on the New Project button. 5.Select your forked repository from the list of repositories that appear. If your GitHub username does not show up, click on + Add GitHub Account and install the Deno Deploy GitHub App with the necessary permissions. 6.Once you select your forked repository, input boxes for project configuration show up. You need to do two things here; enter deno task prepare in the Build Step, and select src/server-deno.ts in Entrypoint field. 7.Click on the Deploy Project button. 8.Once your project is successfully deployed, you will see "Success!" page with a URL to your deployment that looks like https://<project-name>.deno.dev. If you found any issues, reach out to us over on GitHub. 9.Optionally, if you need to configure environment variables, you can do so in the project settings page that you can access either by clicking on the Add environment variables link shown in the "Success!" page, or by navigating to https://dash.deno.com/projects/<project-name>/settings#environment-variables.