Skip to content

Commit

Permalink
Update dev domain (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikegp authored Feb 16, 2024
1 parent 193704b commit 454b624
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All major changes in each released version of the archfx-cloud plugin are listed here.

## 0.16.0

- Updated `dev` domain in `BaseMain` class to be `http://localhost`.

## 0.15.0

- Use the endpoint `/auth/user-info/` to get account information in the `BaseMain` class.
Expand Down
2 changes: 1 addition & 1 deletion archfx_cloud/api/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Usage:
# Assuming
# v1_api_router.register(r'some_model', SomeModelViewSet)
api = Api('http://127.0.0.1:8000')
api = Api('http://localhost')
api.login(email='[email protected]', password='user1')
obj_list = api.some_model.get()
logger.debug('Found {0} groups'.format(obj_list['count']))
Expand Down
2 changes: 1 addition & 1 deletion archfx_cloud/utils/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_domain(self) -> str:
"""
SERVER_TYPE = {
'prod': 'https://{}.archfx.io',
'dev': 'http://127.0.0.1:8000'
'dev': 'http://localhost'
}

domain_template = SERVER_TYPE[self.args.server_type]
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '0.15.0'
version = '0.16.0'

0 comments on commit 454b624

Please sign in to comment.