Merge pull request 'fix: Vite proxy port, remove unused asyncio, exclude node_modules from bandit' (#44) from fix/vite-proxy-port into main
Reviewed-on: https://git.home.ms/jarianc/lofi-app/pulls/44
This commit is contained in:
commit
9cd5eee49b
@ -117,7 +117,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if [[ -f pyproject.toml ]]; then
|
if [[ -f pyproject.toml ]]; then
|
||||||
pip3 install bandit
|
pip3 install bandit
|
||||||
bandit -r . --severity-level high --confidence-level high --exclude tests/,test_*
|
bandit -r . --severity-level high --confidence-level high --exclude tests/,test_*,node_modules
|
||||||
else
|
else
|
||||||
echo "No Python project detected, skipping bandit"
|
echo "No Python project detected, skipping bandit"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -8,7 +8,7 @@ export default defineConfig({
|
|||||||
port: 5173,
|
port: 5173,
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/api": {
|
||||||
target: "http://backend:8000",
|
target: "http://localhost:8010",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
import asyncio
|
|
||||||
import logging
|
import logging
|
||||||
import time
|
import time
|
||||||
from urllib.parse import urljoin
|
from urllib.parse import urljoin
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
import asyncio
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from playwright.async_api import async_playwright
|
from playwright.async_api import async_playwright
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user