You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
320 B
10 lines
320 B
import checkAndCopyConfig from "utils/config/config";
|
|
|
|
const configs = ["docker.yaml", "settings.yaml", "services.yaml", "bookmarks.yaml"];
|
|
|
|
export default async function handler(req, res) {
|
|
const errors = configs.map((config) => checkAndCopyConfig(config)).filter((status) => status !== true);
|
|
|
|
res.send(errors);
|
|
}
|