further restructuring

This commit is contained in:
Ben Phelps 2022-09-26 15:25:10 +03:00
parent 9b07f3eb90
commit 4386999c38
55 changed files with 224 additions and 224 deletions

View file

@ -1,6 +1,6 @@
import Docker from "dockerode";
import getDockerArguments from "utils/docker";
import getDockerArguments from "utils/config/docker";
export default async function handler(req, res) {
const { service } = req.query;

View file

@ -1,6 +1,6 @@
import Docker from "dockerode";
import getDockerArguments from "utils/docker";
import getDockerArguments from "utils/config/docker";
export default async function handler(req, res) {
const { service } = req.query;

View file

@ -1,4 +1,4 @@
import checkAndCopyConfig from "utils/config";
import checkAndCopyConfig from "utils/config/config";
const configs = ["docker.yaml", "settings.yaml", "services.yaml", "bookmarks.yaml"];

View file

@ -1,5 +1,5 @@
import cachedFetch from "utils/proxy/cached-fetch";
import { getSettings } from "utils/config";
import { getSettings } from "utils/config/config";
export default async function handler(req, res) {
const { latitude, longitude, units, provider, cache, lang } = req.query;

View file

@ -1,5 +1,5 @@
import cachedFetch from "utils/proxy/cached-fetch";
import { getSettings } from "utils/config";
import { getSettings } from "utils/config/config";
export default async function handler(req, res) {
const { latitude, longitude, provider, cache, lang } = req.query;