@powerhousedao/ph-cli 0.40.85-dev.11 → 0.40.85-dev.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json
CHANGED
|
@@ -87,11 +87,7 @@ else
|
|
|
87
87
|
# Build Connect
|
|
88
88
|
echo "Building Connect..."
|
|
89
89
|
ph connect build
|
|
90
|
-
|
|
91
|
-
# Fix permissions for Connect build
|
|
92
|
-
echo "Fixing permissions for Connect build..."
|
|
93
|
-
sudo chown -R www-data:www-data .ph/connect-build/dist
|
|
94
|
-
sudo chmod -R 755 .ph/connect-build/dist
|
|
90
|
+
sudo cp -r .ph/connect-build/dist /var/www/html/${PROJECT_NAME}
|
|
95
91
|
|
|
96
92
|
# Enable Nginx site
|
|
97
93
|
manage_nginx_site "enable"
|
|
@@ -124,11 +120,7 @@ else
|
|
|
124
120
|
# Build Connect
|
|
125
121
|
echo "Building Connect..."
|
|
126
122
|
ph connect build
|
|
127
|
-
|
|
128
|
-
# Fix permissions for Connect build
|
|
129
|
-
echo "Fixing permissions for Connect build..."
|
|
130
|
-
sudo chown -R www-data:www-data .ph/connect-build/dist
|
|
131
|
-
sudo chmod -R 755 .ph/connect-build/dist
|
|
123
|
+
sudo cp -r .ph/connect-build/dist /var/www/html/${PROJECT_NAME}
|
|
132
124
|
|
|
133
125
|
# Restart Nginx site
|
|
134
126
|
manage_nginx_site "disable"
|
|
@@ -40,6 +40,7 @@ else
|
|
|
40
40
|
# Connect Build
|
|
41
41
|
# =============================================================================
|
|
42
42
|
ph connect build
|
|
43
|
+
cp -r .ph/connect-build/dist /var/www/html/$PROJECT_NAME
|
|
43
44
|
|
|
44
45
|
# =============================================================================
|
|
45
46
|
# Database Configuration
|
|
@@ -253,7 +254,7 @@ server {
|
|
|
253
254
|
}
|
|
254
255
|
|
|
255
256
|
location / {
|
|
256
|
-
root
|
|
257
|
+
root /var/www/html/$PROJECT_NAME;
|
|
257
258
|
try_files \$uri \$uri/ /index.html;
|
|
258
259
|
add_header Cache-Control "no-cache";
|
|
259
260
|
add_header X-Forwarded-Proto \$scheme;
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.40.85-dev.
|
|
1
|
+
export declare const version = "0.40.85-dev.12";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/src/version.js
CHANGED