feat: restart docker container

This commit is contained in:
Aarnav Tale 2024-03-29 01:53:32 -04:00
parent 8148e242dc
commit abb957c573
No known key found for this signature in database
10 changed files with 115 additions and 61 deletions

View file

@ -39,6 +39,10 @@ export async function loader() {
throw new Error('The API_KEY environment variable is required')
}
if (!process.env.HEADSCALE_CONTAINER) {
throw new Error('The HEADSCALE_CONTAINER environment variable is required')
}
// eslint-disable-next-line unicorn/no-null
return null
}