Skip to content

Commit

Permalink
nc-static-IP: take into account httpsonly
Browse files Browse the repository at this point in the history
Signed-off-by: nachoparker <[email protected]>
  • Loading branch information
nachoparker committed Sep 12, 2021
1 parent c10d4bd commit 30539e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/ncp/NETWORKING/nc-static-IP.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# More at: https://ownyourbits.com
#


source /usr/local/etc/library.sh

configure()
{
Expand Down Expand Up @@ -87,7 +87,7 @@ EOF
}

ncc config:system:set trusted_domains "${TRUSTED_DOMAINS[ip]}" --value="$IP"
ncc config:system:set overwrite.cli.url --value=https://"$IP"/
set-nc-domain "${IP}"
echo "Static IP set to $IP"
}

Expand Down
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

[v1.39.0](https://github.com/nextcloud/nextcloudpi/commit/e4d6e31) (2021-09-05) upgrade to NC21.0.4
[v1.39.1](https://github.com/nextcloud/nextcloudpi/commit/79ee5c5) (2021-09-09) nc-static-IP: take into account httpsonly

[v1.39.0 ](https://github.com/nextcloud/nextcloudpi/commit/3ef774c) (2021-09-05) upgrade to NC21.0.4

[v1.38.6](https://github.com/nextcloud/nextcloudpi/commit/3bf746b) (2021-08-25) raspi: allow oldstable origins

Expand Down

0 comments on commit 30539e4

Please sign in to comment.