diff --git a/package.json b/package.json index 54468f2..173b01d 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,10 @@ "version": "0.0.0", "type": "module", "scripts": { - "start": "npm-run-all --parallel backend vite", + "start": "npm-run-all --parallel vite", "vite": "vite", "build": "vite build", - "serve": "http-server -p 3000 ./dist/", - "backend": "json-server database/data.json -p 5174", - "prod": "npm-run-all build --parallel backend serve", + "prod": "npm-run-all build --parallel", "lint": "eslint ." }, "dependencies": { diff --git a/src/App.css b/src/App.css index 0bb34c4..4c05377 100644 --- a/src/App.css +++ b/src/App.css @@ -39,7 +39,7 @@ color: #000000; } -.pteg { +.ptag { color: #ff0000; } diff --git a/src/components/Api/client.js b/src/components/Api/client.js index dcc998f..8394e51 100644 --- a/src/components/Api/client.js +++ b/src/components/Api/client.js @@ -1,4 +1,4 @@ -const URL = "http://localhost:5174/"; +const URL = "http://localhost:8080/api/1.0/"; const makeRequest = async (path, params, vars, method = "GET", data = null) => { try { diff --git a/src/components/Layout/Header.jsx b/src/components/Layout/Header.jsx index b63a990..a40864b 100644 --- a/src/components/Layout/Header.jsx +++ b/src/components/Layout/Header.jsx @@ -3,12 +3,12 @@ import "./Header.modul.css" export default function Header() { return ( -
-
- - +
+
+ Логотип УлЧУ +
-