Skip to content

Commit

Permalink
upd:new API base url
Browse files Browse the repository at this point in the history
  • Loading branch information
mpuccini committed Mar 26, 2023
1 parent 08b2b9b commit ddf87a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion iemap/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_file_size(file_path, size_type=SIZE_UNIT.BYTES):

# Enum for each endpoint
class endpoints(Enum):
base_url = "https://iemap.enea.it"
base_url = "https://iemap.enea.it/rest"
get_token = f"{base_url}/auth/jwt/login"
check_auth = f"{base_url}v1/health/checkauth"
post_metadata = f"{base_url}/api/v1/project/add"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exclude = ["site"]

[project]
name = "iemap"
version = "0.3.6"
version = "0.4.0"
authors = [
{ name="Sergio Ferlito", email="sergio.ferlito@enea.it" },
{ name="Marco Puccini", email="marco.puccini@enea.it" }
Expand Down Expand Up @@ -41,4 +41,4 @@ dependencies = [
]
[project.urls]
"Homepage" = "https://github.com/ai4mat/iemap-module"
"Bug Tracker" = "https://github.com/ai4mat/iemap-module/issues"
"Bug Tracker" = "https://github.com/ai4mat/iemap-module/issues"

0 comments on commit ddf87a3

Please sign in to comment.