• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

browsersync doesn't work with XAMPP

phpwindowsgulpxampp


PHP Snippet 1:

gulp.task('browser-sync', function() {

   browserSync.init({
      proxy: "http://localhost:80/dashboard/optimizedphp/app/"
   })
;});

PHP Snippet 2:

browserSync( {
    proxy: "https://localhost/mysite/",
    https: {
        key: "W:/xampp/htdocs/mkcert/localhost/localhost.key",
        cert: "W:/xampp/htdocs/mkcert/localhost/localhost.crt"
    }
});

Related Snippets

Limit login attempts in Laravel 5.7

I'm trying to write a clean url for my website using the $_SERVER['REQUEST_URI'] in php

How to properly start Laravel 8 with Bootstrap & authentication

How to assert parameter attribute sub-structures in PHPUnit mock call expectations

Converting IPv6 to IPv4 address in PHP

Assets not referencing to public folder (Laravel)

How to remove index.php and index from the URL using htaccess | PHP

Laravel Displaying image from database

Composer Script echo

Why does codeigniter & Linux server throws unserialize() session data error when user tries to login

If action is on a different page do I use fwrite function

Using array_intersect on a multi-dimensional array

CodeIgniter 3 is generating a session file on each request, why?

I want a way to give path to my files which are outside of public folder in laravel

Laravel views are showing from cache on one server but works fine on other server

About Contact Privacy policy Terms and conditions