mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
require fs
This commit is contained in:
parent
4f93dd0f04
commit
19b0a1f2a8
@ -1,6 +1,6 @@
|
||||
// This script merges config.env.tpl to config.env
|
||||
|
||||
import fs from 'fs';
|
||||
const fs = require('fs');
|
||||
|
||||
const init = () => {
|
||||
const tempate = fs.readFileSync('./config.example.env', 'utf8');
|
||||
|
@ -1,6 +1,6 @@
|
||||
// This script merges config.env.tpl to config.env
|
||||
|
||||
import fs from 'fs';
|
||||
const fs = require('fs');
|
||||
|
||||
const init = () => {
|
||||
let env = '';
|
||||
|
Loading…
Reference in New Issue
Block a user