Skip to content

Commit 454b624

Browse files
authored
Update dev domain (#14)
1 parent 193704b commit 454b624

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

RELEASE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
## 0.16.0
6+
7+
- Updated `dev` domain in `BaseMain` class to be `http://localhost`.
8+
59
## 0.15.0
610

711
- Use the endpoint `/auth/user-info/` to get account information in the `BaseMain` class.

archfx_cloud/api/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Usage:
77
# Assuming
88
# v1_api_router.register(r'some_model', SomeModelViewSet)
9-
api = Api('http://127.0.0.1:8000')
9+
api = Api('http://localhost')
1010
api.login(email='user1@test.com', password='user1')
1111
obj_list = api.some_model.get()
1212
logger.debug('Found {0} groups'.format(obj_list['count']))

archfx_cloud/utils/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def get_domain(self) -> str:
9595
"""
9696
SERVER_TYPE = {
9797
'prod': 'https://{}.archfx.io',
98-
'dev': 'http://127.0.0.1:8000'
98+
'dev': 'http://localhost'
9999
}
100100

101101
domain_template = SERVER_TYPE[self.args.server_type]

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = '0.15.0'
1+
version = '0.16.0'

0 commit comments

Comments
 (0)