iPhone not able to access external URL
See original GitHub issueEverything is working great on desktop, but when using the external URL on my iPhone (Chrome, Safari) it just loads for a minute then say’s it can’t access the page. I have another machine that I’m using this exact setup on and it loads fine on my iPhone so I’m at a loss. Gulp file below:
var gulp = require('gulp'),
sass = require('gulp-sass'),
prefix = require('gulp-autoprefixer'),
rename = require('gulp-rename'),
browserSync = require('browser-sync'),
reload = browserSync.reload;
var paths = {
styles: {
src: './bower_components',
files: './modules/**/*.scss',
}
}
var displayError = function(error) {
// Initial building up of the error
var errorString = '[' + error.plugin + ']';
errorString += ' ' + error.message.replace("\n",''); // Removes new line at the end
// If the error contains the filename or line number add it to the string
if(error.fileName)
errorString += ' in ' + error.fileName;
if(error.lineNumber)
errorString += ' on line ' + error.lineNumber;
// This will output an error like the following:
// [gulp-sass] error message in file_name on line 1
console.error(errorString);
}
gulp.task('sass', function (){
gulp.src(paths.styles.files, {base: '.'})
.pipe(sass({
sourceComments: 'map',
errLogToConsole: true,
includePaths : [
paths.styles.src,
paths.styles.src + '/bootstrap-sass/assets/stylesheets',
]
}))
.on('error', function(err){
displayError(err);
})
.pipe(prefix(
'last 2 version', 'safari 5', 'ie 8', 'ie 9', 'opera 12.1', 'ios 6', 'android 4'
))
.pipe(rename(function(path) {
path.dirname = path.dirname.replace('/sass', '/css');
path.extname = '.css';
}))
.pipe(gulp.dest('.'))
.pipe(reload({stream: true}));
});
gulp.task('default', ['sass'], function() {
browserSync({
proxy: "http://localhost/ADGA/"
});
gulp.watch(paths.styles.files, ['sass'])
.on('change', function(evt) {
console.log(
'[watcher] File ' + evt.path.replace(/.*(?=sass)/,'') + ' was ' + evt.type + ', compiling...'
);
})
.on('change', reload);
});
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:36
Top Results From Across the Web
External Links Not Opening - Apple Community
Today Safari stopped opening external links (i.e. links in Mail and website URL's dragged to the desktop.) I have: 1. Deleted the com.apple....
Read more >Phonegap App : External URL don't open in InApp Browser of ...
Not the answer you're looking for? Browse other questions tagged. iphone · ios · xcode · cordova · inappbrowser. or ask your own...
Read more >How to use external storage with an iPhone or iPad
1. Tap to open the Settings app. 2. Scroll down and tap General. 3. Tap About. Check the number next to Software Version....
Read more >Why Can't I Access NetSuite via my iPhone?
Why can I not access NetSuite via my iPhone? Apple launched a new security policy with iOS9. The new security policy is requiring...
Read more >After updating, iPhone app will never use internal URL
It doesn't appear to be a config issue because the app works fine when the External URL is correct for the network that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
(SOLVED) Really! Weird thing, but it solved my problem. So, the solution is:
Solved on WIN10 by allowing Node.js:Server-side Javascript on “Private” network in “Control Panel\System and Security\Windows Firewall\Allowed applications”