rename sites to manager
This commit is contained in:
parent
5e866ca8d2
commit
ed025533cd
11 changed files with 15 additions and 15 deletions
|
@ -1,10 +1,10 @@
|
|||
import { existsSync } from 'fs';
|
||||
import { readFile } from 'fs/promises';
|
||||
import { setCurrent } from '../sites/src/set-current.js'
|
||||
import { setCurrent } from '../manager/src/set-current.js'
|
||||
|
||||
(async () => {
|
||||
if (existsSync('../sites/sites/current.txt')) {
|
||||
const site = await readFile('../sites/sites/current.txt', { encoding: 'utf-8' });
|
||||
if (existsSync('../manager/sites/current.txt')) {
|
||||
const site = await readFile('../manager/sites/current.txt', { encoding: 'utf-8' });
|
||||
setCurrent(site);
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue