mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-28 11:35:40 +00:00
07441eec8e
* add asset id redirecting * dev env changes * suggested changes from PR * remove unnecessary proxy from nuxt config * fix formatting * change directory reference * fix API key storage * use /a/{id} as redirect * run generators * remove dependabot Co-authored-by: Bradley Nelson <bradley@nel.family> Co-authored-by: Bradley Nelson <BCNelson@users.noreply.github.com>
47 lines
No EOL
1.5 KiB
JSON
47 lines
No EOL
1.5 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"compounds": [
|
|
{
|
|
"name": "Full Stack",
|
|
"configurations": ["Launch Backend", "Launch Frontend"],
|
|
"stopAll": true
|
|
}
|
|
],
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Backend",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceRoot}/backend/app/api/",
|
|
"args": [],
|
|
"env": {
|
|
"HBOX_DEMO": "true",
|
|
"HBOX_LOG_LEVEL": "debug",
|
|
"HBOX_DEBUG_ENABLED": "true",
|
|
"HBOX_STORAGE_DATA": "${workspaceRoot}/backend/.data",
|
|
"HBOX_STORAGE_SQLITE_URL": "${workspaceRoot}/backend/.data/homebox.db?_fk=1"
|
|
},
|
|
},
|
|
{
|
|
"name": "Launch Frontend",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": [
|
|
"run",
|
|
"dev"
|
|
],
|
|
"cwd": "${workspaceFolder}/frontend",
|
|
"serverReadyAction": {
|
|
"action": "debugWithChrome",
|
|
"pattern": "Local: http://localhost:([0-9]+)",
|
|
"uriFormat": "http://localhost:%s",
|
|
"webRoot": "${workspaceFolder}/frontend"
|
|
}
|
|
}
|
|
]
|
|
} |