remove SERVER var
This commit is contained in:
+2
-2
@@ -2,9 +2,9 @@
|
||||
|
||||
cd /var/www/html
|
||||
|
||||
sed -i "s/quakejs/${SERVER}/g" index.html
|
||||
sed -i "s/'quakejs:/window.location.hostname + ':/g" index.html
|
||||
|
||||
sed -i "s/${SERVER}:80/${SERVER}:${HTTP_PORT}/g" index.html
|
||||
sed -i "s/':80'/':${HTTP_PORT}'/g" index.html
|
||||
|
||||
/etc/init.d/apache2 start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user