mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 02:10:18 +01:00
Improved documentation
This commit is contained in:
@@ -9,7 +9,7 @@ const nextConfig = {
|
||||
{
|
||||
source: '/',
|
||||
destination: '/admin',
|
||||
permanent: true, // The browser will save the redirect in its cache, empty the cache to change the redirect
|
||||
permanent: false, // The browser will not save the redirect in its cache
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
# Template of the .env file
|
||||
```
|
||||
NEXT_PUBLIC_SOCKET_HOST = 'traque.rezel.net'
|
||||
NEXT_PUBLIC_SOCKET_PORT = 3001
|
||||
```
|
||||
|
||||
Where NEXT_PUBLIC_SOCKET_HOST is the host of the socket server and NEXT_PUBLIC_SOCKET_PORT is the port of the socket server. Those values are set by the HOST and PORT env variables in the backend.
|
||||
|
||||
# Run dev version
|
||||
First install the dependencies
|
||||
```
|
||||
npm install
|
||||
```
|
||||
Then run the server
|
||||
```
|
||||
npm run dev
|
||||
```
|
||||
Reference in New Issue
Block a user