Skip to content

Commit 6f019cf

Browse files
authored
fix: Update pzserver URLs and devcontainer configuration (#171)
This commit updates the URLs for the pzserver environments to reflect the new domain name. It also comments out some features in the devcontainer configuration. The changes include: - Updating the URLs for "pz-dev" and "pz" environments in the `PzRequests` class to use the `pzserver` subdomain. - Commenting out the `github-cli`, `black`, and `act` features in the `.devcontainer/devcontainer.json` file.
1 parent 1fe2a4a commit 6f019cf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
88
"features": {
99
"ghcr.io/devcontainers/features/common-utils:2": {},
10-
"ghcr.io/devcontainers/features/github-cli:1": {},
11-
"ghcr.io/devcontainers-contrib/features/black:2": {},
10+
// "ghcr.io/devcontainers/features/github-cli:1": {},
11+
// "ghcr.io/devcontainers-contrib/features/black:2": {},
1212
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {},
13-
"ghcr.io/dhoeric/features/act:1": {},
13+
// "ghcr.io/dhoeric/features/act:1": {},
1414
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}
1515
},
1616
// Features to add to the dev container. More info: https://containers.dev/features.

src/pzserver/communicate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class PzRequests:
2424
}
2525
_enviroments = {
2626
"localhost": "http://localhost/api/",
27-
"pz-dev": "https://pz-server-dev.linea.org.br/api/",
28-
"pz": "https://pz-server.linea.org.br/api/",
27+
"pz-dev": "https://pzserver-dev.linea.org.br/api/",
28+
"pz": "https://pzserver.linea.org.br/api/",
2929
}
3030

3131
def __init__(self, token, host="pz"):

0 commit comments

Comments
 (0)