Commit 3fd5cb76 authored by M2947's avatar M2947 😎
Browse files

yml edit

parent dfa834e4
Pipeline #243055 failed with stages
in 4 seconds
......@@ -12,9 +12,9 @@ deploy:
- ls /home/ubuntu/ -l -a
- cd Tavara-\ raskaan\ liikenne/backend/
- npm install
- pm2 start index.js -f --restart-delay 3000
#- pm2 start index.js -f --restart-delay 3000
#changing the local host to server IP address
- sudo sed -i 's/localhost/86.50.252.101/' ../frontend/traffic/src/components/Url.js
- sudo sed -i 's/localhost/195.148.20.223/' /frontend/traffic/src/components/Url.js
only:
......
......@@ -6,8 +6,8 @@ var app = express();
app.use(cors());
app.use("/",require("./routes/test.js"))
app.get('/', (req, res) => res.send('Hello World!'))
//app.use("/",require("./routes/test.js"))
app.use("/api/vehicle/", require('./routes/api/vehicles/vehicle'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment