Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
irul
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6877fcc3
authored
Mar 04, 2023
by
aagusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
get urls
1 parent
a1ba28e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
opensipkd/base/__init__.py
opensipkd/base/__init__.py
View file @
6877fcc
...
@@ -148,6 +148,7 @@ def add_global(event):
...
@@ -148,6 +148,7 @@ def add_global(event):
event
[
'allow_register'
]
=
allow_register
event
[
'allow_register'
]
=
allow_register
event
[
'change_unit'
]
=
change_unit
event
[
'change_unit'
]
=
change_unit
event
[
'get_params'
]
=
get_params
event
[
'get_params'
]
=
get_params
event
[
'route_urls'
]
=
get_urls
def
get_params
(
params
,
alternate
=
None
,
settings
=
None
):
def
get_params
(
params
,
alternate
=
None
,
settings
=
None
):
...
@@ -472,7 +473,7 @@ def main(global_config, **settings):
...
@@ -472,7 +473,7 @@ def main(global_config, **settings):
config
.
add_request_method
(
is_devel
,
'devel'
,
reify
=
True
)
config
.
add_request_method
(
is_devel
,
'devel'
,
reify
=
True
)
config
.
add_request_method
(
get_host
,
'_host'
,
reify
=
True
)
config
.
add_request_method
(
get_host
,
'_host'
,
reify
=
True
)
config
.
add_request_method
(
get_host
,
'home'
,
reify
=
True
)
config
.
add_request_method
(
get_host
,
'home'
,
reify
=
True
)
config
.
add_request_method
(
get_urls
,
'route_urls'
,
reify
=
True
)
#
config.add_request_method(get_urls, 'route_urls', reify=True)
config
.
add_request_method
(
google_signin_client_id
,
config
.
add_request_method
(
google_signin_client_id
,
'google_signin_client_id'
,
reify
=
True
)
'google_signin_client_id'
,
reify
=
True
)
config
.
add_request_method
(
google_signin_client_ids
,
config
.
add_request_method
(
google_signin_client_ids
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment