<commit_before>const gulp = require('gulp'),
    bSync = require('browser-sync'),
    http_proxy = require('http-proxy-middleware'),

    proxy_conf = {
        target: 'http://172.16.1.1:8080',
        changeOrigin: true,               // needed for virtual hosted sites 
        ws: true
    },

    api_link = http_proxy('/api', proxy_conf),

    config = {
        server: {
            baseDir: './landing',
            routes: {
                '/app': 'app',
                '/admin': 'admin'
            },
            middleware: [api_link]
        },
        tunnel: true,
        host: 'localhost',
        port: 9000,
        logPrefix: "Frontend_Royal-Rangers"
    },
    browserSync = {
        start: bs_start
        // reload: bs_reload //for some reasons doesn't work correct
    };
<commit_msg>fix incorrect proxy to backend in browsersync<commit_after>const gulp = require('gulp'),
    bSync = require('browser-sync'),
    http_proxy = require('http-proxy-middleware'),

    proxy_conf = {
        target: 'http://localhost:8080',
        changeOrigin: true,               // needed for virtual hosted sites 
        ws: true
    },

    api_link = http_proxy('/api', proxy_conf),

    config = {
        server: {
            baseDir: './landing',
            routes: {
                '/app': 'app',
                '/admin': 'admin'
            },
            middleware: [api_link]
        },
        tunnel: true,
        host: 'localhost',
        port: 9000,
        logPrefix: "Frontend_Royal-Rangers"
    },
    browserSync = {
        start: bs_start
        // reload: bs_reload //for some reasons doesn't work correct
    };

{'fraction_non_alphanumeric': 0.12975256487628245, 'fraction_numerical': 0.01388050694025347, 'mean_word_length': 1.6317460317460317, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5092020', 'n_tokens_mistral': 504, 'n_tokens_neox': 467, 'n_words': 110}