Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding browserconfig.xml and Apple touch icons as static assets for catalog requests; Implementing a route for WP login attempts #480

Merged
merged 1 commit into from
Jan 4, 2019

Conversation

jrgriffiniii
Copy link
Contributor

Resolves #470

config/routes.rb Outdated
@@ -27,6 +27,7 @@
match '/404', to: 'pages#not_found', via: :all
match '/500', to: 'pages#internal_server_error', via: :all
get '/viewers', to: 'pages#viewers', as: 'viewers_page'
get '/browserconfig.xml', to: redirect('/browserconfig.xml')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed? Wouldn't the browserconfig.xml file being in public be enough to serve it at that URL?

@jrgriffiniii jrgriffiniii changed the title Adding browserconfig.xml as a static asset for catalog requests [WIP] Adding browserconfig.xml as a static asset for catalog requests Jan 4, 2019
@jrgriffiniii
Copy link
Contributor Author

This should also be rescoped to encompass serving static assets for Apple devices: https://app.honeybadger.io/projects/51733/faults/42762574/bc9f68b2-0f16-11e9-85e7-637f17c49e70#notice-summary

@coveralls
Copy link

coveralls commented Jan 4, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling 398260f on issues-470-jrgriffiniii-browserconfig into ab28e4d on master.

Apple touch icons; Adding routing support for Wordpress login attempts
@jrgriffiniii jrgriffiniii force-pushed the issues-470-jrgriffiniii-browserconfig branch from b05a14a to 398260f Compare January 4, 2019 16:39
@jrgriffiniii jrgriffiniii changed the title [WIP] Adding browserconfig.xml as a static asset for catalog requests Adding browserconfig.xml and Apple touch icons as static assets for catalog requests; Implementing a route for WP login attempts Jan 4, 2019
@jrgriffiniii
Copy link
Contributor Author

I can remove the WP route and look to resolve this at the level of KEMP, but my conclusion from #470 (comment) is that this was already attempted and proven ineffective: https://app.honeybadger.io/projects/51733/faults/42762574/750a540c-0f80-11e9-8827-18bf85578728#notice-summary

@escowles
Copy link
Member

escowles commented Jan 4, 2019

I'm 👍 on the /wp-login.php route, which seems like a reasonable solution if browsers are going to hit that.

@escowles escowles merged commit b0c37eb into master Jan 4, 2019
@escowles escowles deleted the issues-470-jrgriffiniii-browserconfig branch January 4, 2019 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants