mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-13 08:20:34 +00:00
9 lines
313 B
JavaScript
9 lines
313 B
JavaScript
import checkAndCopyConfig from "utils/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);
|
|
}
|