mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-05 21:47:48 +01:00
10 lines
339 B
JavaScript
10 lines
339 B
JavaScript
import checkAndCopyConfig from "utils/config/config";
|
|
|
|
const configs = ["docker.yaml", "settings.yaml", "services.yaml", "bookmarks.yaml", "kubernetes.yaml"];
|
|
|
|
export default async function handler(req, res) {
|
|
const errors = configs.map((config) => checkAndCopyConfig(config)).filter((status) => status !== true);
|
|
|
|
res.send(errors);
|
|
}
|