Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 3eb0916

Browse files
author
Roger Stringer
authored
update example envs to 127.0.0.1 rather than localhost (#177)
1 parent 804320b commit 3eb0916

30 files changed

+25
-22
lines changed

angular/src/environments/environment.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
export const environment = {
66
production: false,
7-
directusBaseUrl: 'http://localhost:8055',
7+
directusBaseUrl: 'http://127.0.0.1:8055',
88
};
99

1010
/*

astro/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PUBLIC_DIRECTUS_URL=http://localhost:8055
1+
PUBLIC_DIRECTUS_URL=http://127.0.0.1:8055
22
DIRECTUS_EMAIL=[email protected]
33
DIRECTUS_PASSWORD=d1r3ctu5
44
DIRECTUS_STATIC_TOKEN=

blitz/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DIRECTUS_URL=http://localhost:8055
1+
DIRECTUS_URL=http://127.0.0.1:8055
22

33
# Although not covered in this example, these can be used for authenticated API calls server-side
44
DIRECTUS_EMAIL=[email protected]

directus/.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## General
33

44
PORT=8055
5-
PUBLIC_URL="http://localhost:8055"
5+
PUBLIC_URL="http://127.0.0.1:8055"
66
CORS_ENABLED=true
77
CORS_ORIGIN=true
88

directus/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Admin credentials for this Directus instance:
2828
npx directus start
2929
```
3030

31-
Your Directus example is now running at <http://localhost:8055>.
31+
Your Directus example is now running at <http://127.0.0.1:8055>.
3232

3333
4. You can login with the admin credentials shown above to explore this Directus example project.
3434

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

eleventy/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DIRECTUS_URL=http://localhost:8055
1+
DIRECTUS_URL=http://127.0.0.1:8055
22
DIRECTUS_EMAIL=[email protected]
33
DIRECTUS_PASSWORD=d1r3ctu5
44
DIRECTUS_STATIC_TOKEN=

fresh/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
DENO_ENV=development
22
BASE_URL=http://localhost:8000
3-
DIRECTUS_URL=http://localhost:8055
3+
DIRECTUS_URL=http://127.0.0.1:8055
44
DIRECTUS_EMAIL=[email protected]
55
DIRECTUS_PASSWORD=d1r3ctu5
66
DIRECTUS_STATIC_TOKEN=

gatsby/.example.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
GATSBY_DIRECTUS_URL=http://localhost:8055
1+
GATSBY_DIRECTUS_URL=http://127.0.0.1:8055
22
DIRECTUS_EMAIL=[email protected]
33
DIRECTUS_PASSWORD=d1r3ctu5
44
DIRECTUS_STATIC_TOKEN=

gatsby/package-lock.json

+7-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gatsby/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"clean": "gatsby clean"
1010
},
1111
"dependencies": {
12-
"@directus/gatsby-source-directus": "9.14.8",
12+
"@directus/gatsby-source-directus": "9.15.0",
1313
"gatsby": "5.2.0",
1414
"gatsby-plugin-react-helmet": "6.2.0",
1515
"modern-normalize": "1.1.0",

iles/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VITE_DIRECTUS_URL=http://localhost:8055
1+
VITE_DIRECTUS_URL=http://127.0.0.1:8055
22
VITE_DIRECTUS_EMAIL=[email protected]
33
VITE_DIRECTUS_PASSWORD=d1r3ctu5
44
VITE_DIRECTUS_STATIC_TOKEN=

nextjs/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DIRECTUS_URL=http://localhost:8055
1+
DIRECTUS_URL=http://127.0.0.1:8055
22
DIRECTUS_EMAIL=[email protected]
33
DIRECTUS_PASSWORD=d1r3ctu5
44
DIRECTUS_STATIC_TOKEN=

nuxtjs/.example.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DIRECTUS_URL=http://localhost:8055
1+
DIRECTUS_URL=http://127.0.0.1:8055
22
DIRECTUS_EMAIL=[email protected]
33
DIRECTUS_PASSWORD=d1r3ctu5
44
DIRECTUS_STATIC_TOKEN=

react/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
REACT_APP_DIRECTUS_URL=http://localhost:8055
1+
REACT_APP_DIRECTUS_URL=http://127.0.0.1:8055

remix/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DIRECTUS_URL=http://localhost:8055
1+
DIRECTUS_URL=http://127.0.0.1:8055
22
DIRECTUS_EMAIL=[email protected]
33
DIRECTUS_PASSWORD=d1r3ctu5
44
DIRECTUS_STATIC_TOKEN=

shared/generator/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ To test the newly generated sqlite database locally, you can run the following c
4343
npm run local
4444
```
4545

46-
The local demo will run at `http://localhost:8055`. Refer to the `ADMIN_EMAIL` and `ADMIN_PASSWORD` variables in `config.json` for the admin credentials.
46+
The local demo will run at `http://127.0.0.1:8055`. Refer to the `ADMIN_EMAIL` and `ADMIN_PASSWORD` variables in `config.json` for the admin credentials.

svelte/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VITE_DIRECTUS_URL=http://localhost:8055
1+
VITE_DIRECTUS_URL=http://127.0.0.1:8055

sveltekit/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VITE_DIRECTUS_URL=http://localhost:8055
1+
VITE_DIRECTUS_URL=http://127.0.0.1:8055
22
DIRECTUS_EMAIL=[email protected]
33
DIRECTUS_PASSWORD=d1r3ctu5
44
DIRECTUS_STATIC_TOKEN=

vue/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VITE_DIRECTUS_URL=http://localhost:8055
1+
VITE_DIRECTUS_URL=http://127.0.0.1:8055

0 commit comments

Comments
 (0)