mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 21:03:08 +00:00
docs: add hint about AUTOMAKER_API_KEY env var to API key banner
When the dev server restarts, developers need to re-enter the API key in the browser. While the key is persisted to ./data/.api-key, this file may be missing in clean dev scenarios. This adds a helpful tip to the API key banner informing developers they can set AUTOMAKER_API_KEY environment variable for a persistent API key during development, avoiding the need to re-enter it after server restarts.
This commit is contained in:
@@ -142,6 +142,8 @@ if (process.env.AUTOMAKER_HIDE_API_KEY !== 'true') {
|
|||||||
║ ${API_KEY}
|
║ ${API_KEY}
|
||||||
║ ║
|
║ ║
|
||||||
║ In Electron mode, authentication is handled automatically. ║
|
║ In Electron mode, authentication is handled automatically. ║
|
||||||
|
║ ║
|
||||||
|
║ 💡 Tip: Set AUTOMAKER_API_KEY env var to use a fixed key for dev ║
|
||||||
╚═══════════════════════════════════════════════════════════════════════╝
|
╚═══════════════════════════════════════════════════════════════════════╝
|
||||||
`);
|
`);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user