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: |
|
||||
if [[ -f pyproject.toml ]]; then
|
||||
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
|
||||
echo "No Python project detected, skipping bandit"
|
||||
fi
|
||||
|
||||
@ -8,7 +8,7 @@ export default defineConfig({
|
||||
port: 5173,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://backend:8000",
|
||||
target: "http://localhost:8010",
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
import asyncio
|
||||
import logging
|
||||
import time
|
||||
from urllib.parse import urljoin
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
import asyncio
|
||||
import logging
|
||||
|
||||
from playwright.async_api import async_playwright
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user