mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
10 lines
202 B
Bash
Executable File
10 lines
202 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# replace default api path to new one
|
|
jspath=`ls /app/dist/js/app.*.js`
|
|
cat ${jspath} | sed "s/localhost:8000/${CRAWLAB_API_ADDRESS}/g" > ${jspath}
|
|
|
|
# start nginx
|
|
service nginx start
|
|
|
|
crawlab |