Comments (5)
Documentation mentions protocol but I don't see it anywhere in the code. Looks like the http is hardcoded too.
https://github.com/alexrabarts/big_sitemap/blob/master/lib/big_sitemap.rb#L54
from big_sitemap.
use url_options: { host: "example.com", scheme: 'https' }
and it should work. the hardcoded value is the default one .merge(..)
overwrites it..
from big_sitemap.
You're right, so it does.
OK, so I'll leave this open to update the documentation to read scheme
instead of protocol
.
from big_sitemap.
And thanks 👍
from big_sitemap.
Thank you. The documentation is now fixed.
from big_sitemap.
Related Issues (20)
- Same model, different urls HOT 2
- find_for_sitemap method in model does not work ... HOT 1
- base_url + suggestion HOT 2
- does partial_updates work? HOT 3
- Error with Ruby 1.9 HOT 6
- dev mode sucks!
- Conditions hash issues with more than > 1000 rows? HOT 1
- :to_param option HOT 1
- doesn't /sitemaps directory ruin the sitemap? HOT 1
- Ambiguous "id" column when using joins HOT 1
- Using :filename causes sitemap_index to ignore files HOT 1
- Receiving error when running rake task
- suggestions HOT 1
- Paths are truncated to the last element HOT 1
- undefined local variable or method `get_last_id' for BigSitemap:Class
- uninitialized constant Class HOT 1
- 'add' method isn't working properly HOT 3
- Multiples I18n
- installing gem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from big_sitemap.