I hereby claim:
- I am lelandlater on github.
- I am llater (https://keybase.io/llater) on keybase.
- I have a public key ASDNkq_gkfpH0tM2nQjA_K2OCSA5A7uNynzK0Ykkvbr7Awo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| def add_subdomain_to_global(endpoint, values): | |
| g.subdomain = values.pop('subdomain', None) | |
| def add_subdomain_to_url_params(endpoint, values): | |
| if not 'subdomain' in values: | |
| values['subdomain'] = g.subdomain | |
| def add_subdomain_support(app): | |
| app.url_value_preprocessor(add_subdomain_to_global) | |
| app.url_defaults(add_subdomain_to_url_params) |
| # VERSION 1.0.4 | |
| # Author: @madhavajay | |
| # This currently works for iOS and watchOS in the Simulator and Devices | |
| # Changes | |
| # Using ${TOOLCHAIN} in two places now | |
| # Added double quotes " around paths | |
| # Fixed watchOS Issues | |
| # Instructions iOS |