mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update main.yml
This commit is contained in:
parent
8d7354dfc2
commit
874182f2f4
1 changed files with 4 additions and 2 deletions
|
@ -134,7 +134,9 @@
|
|||
# chdir: "{{ sugarizer_location }}/sugarizer/server"
|
||||
# when: internet_available and is_F18 and not node_modules_exists
|
||||
|
||||
# Add a nodejs express function that appends a prefix to urls
|
||||
# Add a Node.js Express function that appends a prefix to URLs.
|
||||
# SEE "AUTO-INSERTED BY IIAB" ~44 LINES BELOW: as those two "pathPrefix" lines
|
||||
# MUST be added to /opt/iiab/sugarizer-server/sugarizer.js
|
||||
- name: For http://box/sugarizer -- run 'npm install --allow-root --unsafe-perm=true path-prefix-proxy' to create /opt/iiab/sugarizer-server/node_modules/path-prefix-proxy
|
||||
command: npm install --allow-root --unsafe-perm=true path-prefix-proxy
|
||||
args:
|
||||
|
@ -177,7 +179,7 @@
|
|||
line: "port = {{ mongodb_port }}"
|
||||
|
||||
# 2-LINE FIX FOR sugarizer.js BY @georgejhunt FOR http://box/sugarizer
|
||||
# REQUIRES above 'npm install --allow-root --unsafe-perm=true path-prefix-proxy'
|
||||
# SEE ~44 LINES ABOVE, as this is REQUIRED: 'npm install --allow-root --unsafe-perm=true path-prefix-proxy'
|
||||
# OR YOU GET ERRORS: "status=255" within "systemctl status sugarizer"
|
||||
# "Cannot find module 'path-prefix-proxy'" within "journalctl -eu sugarizer"
|
||||
- name: For http://box/sugarizer -- add pathPrefix /sugarizer in /opt/iiab/sugarizer-server/sugarizer.js
|
||||
|
|
Loading…
Reference in a new issue