Skip to content
Snippets Groups Projects
Commit 647babfa authored by Sebastian Lobinger's avatar Sebastian Lobinger
Browse files

change SAMSApp.__add_proxy_urls pass test_hub_provides_apps_with_proxies

fixed issue #8
parent f5b6b6bf
No related branches found
No related tags found
1 merge request!5Resolve "test des SMSHub mit Apps die Proxies haben"
This commit is part of merge request !5. Comments created here will be created in the context of that merge request.
......@@ -54,7 +54,7 @@ class SAMSApp:
for proxy in self.proxies:
self.__blueprint.add_url_rule(
rule = self._generate_url(proxy.urlRule),
endpoint = self.__blueprint.name + '_proxy_' + str(i),
endpoint = self.__blueprint.name.replace('.', '_') + '_proxy_' + str(i),
view_func = proxy.proxy)
i += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment