mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
chore: append manifest in edge file only in prod env
This commit is contained in:
7
start/view.ts
Normal file
7
start/view.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import env from '#start/env';
|
||||
import edge from 'edge.js';
|
||||
|
||||
/**
|
||||
* Define a global property
|
||||
*/
|
||||
edge.global('nodeEnv', env.get('NODE_ENV'));
|
||||
Reference in New Issue
Block a user