mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 06:38:46 +00:00
Update [...service].js
This commit is contained in:
parent
a2aab6451c
commit
9ff977b339
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ export default async function handler(req, res) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const containerNames = containers.map((container) => container.Names[0].replace(/^\//, ""));
|
const containerNames = containers.map((container) => container.Names[0]?.replace(/^\//, ""));
|
||||||
const containerExists = containerNames.includes(containerName);
|
const containerExists = containerNames.includes(containerName);
|
||||||
|
|
||||||
if (containerExists) {
|
if (containerExists) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue