summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
index 5263bee5..c5d77536 100755
--- a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
@@ -13,7 +13,7 @@ var BlogView = View.extend({
fetch: function(fn){
$.ajax({
method: "GET",
- url: sdk.env === 'test' ? '/db.json' : sdk.cms() + '/db.json',
+ url: (sdk.env === 'test' || sdk.env === 'development') ? '/db.json' : sdk.cms() + '/db.json',
// url: "https://stone.giraffe.life/db.json",
success: function(data){
this.success(data)
@@ -37,7 +37,7 @@ var BlogView = View.extend({
// sdk.env = 'test'
- if (sdk.env === 'test') {
+ if (sdk.env === 'test' || sdk.env === 'development') {
app.store = data.store[1]
}
else {