Skip to content

Commit 380c0f1

Browse files
committed
refactor: remove appKey's from config
Close #10
1 parent f6083a3 commit 380c0f1

File tree

3 files changed

+0
-28
lines changed

3 files changed

+0
-28
lines changed

api-monorepo/apps/backend/config/app.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ import env from '#start/env'
22
import app from '@adonisjs/core/services/app'
33
import { defineConfig } from '@adonisjs/core/http'
44

5-
/**
6-
* The app key is used for encrypting cookies, generating signed URLs,
7-
* and by the "encryption" module.
8-
*
9-
* The encryption module will fail to decrypt data if the key is lost or
10-
* changed. Therefore it is recommended to keep the app key secure.
11-
*/
12-
export const appKey = env.get('APP_KEY')
13-
145
/**
156
* The app URL can be used in various places where you want to create absolute
167
* URLs to your application. For example, when sending emails, images should

inertia-react/config/app.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ import env from '#start/env'
22
import app from '@adonisjs/core/services/app'
33
import { defineConfig } from '@adonisjs/core/http'
44

5-
/**
6-
* The app key is used for encrypting cookies, generating signed URLs,
7-
* and by the "encryption" module.
8-
*
9-
* The encryption module will fail to decrypt data if the key is lost or
10-
* changed. Therefore it is recommended to keep the app key secure.
11-
*/
12-
export const appKey = env.get('APP_KEY')
13-
145
/**
156
* The app URL can be used in various places where you want to create absolute
167
* URLs to your application. For example, when sending emails, images should

inertia-vue/config/app.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
1-
import env from '#start/env'
21
import app from '@adonisjs/core/services/app'
32
import { defineConfig } from '@adonisjs/core/http'
43

5-
/**
6-
* The app key is used for encrypting cookies, generating signed URLs,
7-
* and by the "encryption" module.
8-
*
9-
* The encryption module will fail to decrypt data if the key is lost or
10-
* changed. Therefore it is recommended to keep the app key secure.
11-
*/
12-
export const appKey = env.get('APP_KEY')
13-
144
/**
155
* The configuration settings used by the HTTP server
166
*/

0 commit comments

Comments
 (0)