Skip to content

Commit 30539e4

Browse files
committed
nc-static-IP: take into account httpsonly
Signed-off-by: nachoparker <[email protected]>
1 parent c10d4bd commit 30539e4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

bin/ncp/NETWORKING/nc-static-IP.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# More at: https://ownyourbits.com
99
#
1010

11-
11+
source /usr/local/etc/library.sh
1212

1313
configure()
1414
{
@@ -87,7 +87,7 @@ EOF
8787
}
8888

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

changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

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

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

0 commit comments

Comments
 (0)