Comments (7)
Yea, this could be related to us having redirections e.g. from sharetribe.fi to sharetribe.com. It might pick the sharetribe.dev too for that. This is something that clearly should be done better, thinking the open source version. We probably should separate some of our own logic from the master branch. Should figure our some best practices for that. I guess many open source projects face the same issue.
from sharetribe.
one quick fix here could be to make domain_redirect be enabled only if that's said in config.yml
from sharetribe.
or maybe?
if APP_CONFIG.domain == 'sharetribe.com'
from sharetribe.
yep, sounds good. :) I'll add that check now.
from sharetribe.
:) It seems I did pay some attention to other servers, as I wrote there:
# These rules are specific to the Sharetribe.com server, but shouldn't cause trouble for open source installations.
# # And you if you need your own rules for redirection or rewrite, add here.
and added "request.domain != APP_CONFIG.domain" requirement. So if you are using sharetribe.dev with your /etc/hosts/ you might want to set same domain in your config.yml.
We've been using lvh.me as that's already pointing to localhost. But I also added it to /etc/hosts to make it work offline too.
from sharetribe.
i had 'sharetribe.dev:3000' in config.yml while request.domain didn't have port so it run all those checks...
maybe we should change config.example.yml and also remove :3000 ?
from sharetribe.
I added the
APP_CONFIG.domain == 'sharetribe.com'
check so that should be enough to avoid redirects elsewhere for now
from sharetribe.
Related Issues (20)
- Page not load on mobile HOT 1
- Support for PostgreSQL still being considered? HOT 2
- Unable to setup Payment system from new install HOT 2
- log file too big HOT 1
- S3 Direct Upload with Sigv4 HOT 7
- Messages/Conversations in admin dashboard not working HOT 3
- Running sharetribe in kubernetes or as containers HOT 1
- Rails sever is running but if i type localhost:3000 into the browser the server stops working HOT 1
- Rake fails due to AWS non-AWS installation HOT 5
- Muti Currency Option HOT 1
- Cannot setup sphinx search on Mac OS X 10.15 HOT 1
- Email Images use Incorrect Src Path HOT 5
- Post a new listing button not responding HOT 2
- Per hour availability calendar HOT 3
- (Feat request) Inventory management / tracking HOT 1
- Calendar availability management HOT 1
- Error while installing using docker HOT 1
- undefined method `html_safe' for nil:NilClass Did you mean? html_safe? HOT 2
- Command Failed: bundle exec rake ts:index HOT 1
- Search delayed deltas with Sphinx not working from Sharetribe Go CE v11
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 sharetribe.