Skip to content

Commit

Permalink
fix: replacing azion.com to www.azion.com
Browse files Browse the repository at this point in the history
  • Loading branch information
robsongajunior committed Jan 15, 2025
1 parent e365cfc commit 9cce234
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ menu_namespace: runtimeMenu
Redirect requests from one URL to another. Can be helpful during maintenance or downtime.

```js
const destinationURL = "https://azion.com"
const destinationURL = "https://www.azion.com/en/"
const statusCode = 301

async function handleRequest(request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Respond to the request with a response from another website. Useful for temporar
```js
addEventListener("fetch", event => {
return event.respondWith(
fetch("https://azion.com")
fetch("https://www.azion.com/en/")
)
})
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Azion Preview Deployment depends on an auxiliary function inside your source cod

```js
function PreviewProvider<PreviewProvider>(args) {
var request = new Request("https://azion.com/example", {
var request = new Request("https://www.azion.com/example", {
method: "GET",
headers: {
"Content-Type": "application/json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ menu_namespace: runtimeMenu
Redireciona requisições de uma URL para outra. Pode ser utilizado durante manutenções ou downtime.

```js
const destinationURL = "https://azion.com"
const destinationURL = "https://www.azion.com/pt-br/"
const statusCode = 301

async function handleRequest(request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Responde à requisição com uma resposta de outro site. Útil para redirecionam
```js
addEventListener("fetch", event => {
return event.respondWith(
fetch("https://azion.com")
fetch("https://www.azion.com/pt-br/")
)
})
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A implantação do Azion Preview depende de uma função auxiliar dentro do seu

```js
function PreviewProvider<PreviewProvider> (args) {
var request = new Request("https://azion.com/example", {
var request = new Request("https://www.azion.com/example", {
method: "GET",
headers: {
"Content-Type": "application/json",
Expand Down

0 comments on commit 9cce234

Please sign in to comment.