<commit_before>/**
 * The server modules is responsible to start a DEV server
 * and to proxy the resources/, test-resources/, data/ URLs
 * to the proper URLs:
 * 
 * resources/ => https://sapui5.hana.ondemand.com/resources/
 * test-resources/ => https://sapui5.hana.ondemand.com/test-resources/
 * data/ => http://services.odata.org/V2/OData/OData.svc/
 */

'use strict';

var express = require('express');
var proxy = require('http-proxy-middleware');

var app = express();

app.use("/resources", proxy({target: "https://sapui5.hana.ondemand.com/resources/", pathRewrite: {
	'^/resources/' : ''
}, changeOrigin: true}));
app.use("/test-resources", proxy({target: "https://sapui5.hana.ondemand.com/test-resources/", pathRewrite: {
	'^/test-resources/' : ''
}, changeOrigin: true}));
app.use("/data", proxy({target: "https://services.odata.org/V2/OData/OData.svc/", pathRewrite: {
	'^/data/' : ''
}, changeOrigin: true}));

app.use(express.static('dist'));

var port = 3000;
app.listen(port, function () {
	console.log('Server listening on port ' + port + '\n');
});<commit_msg>Fixed the Northwind service URL<commit_after>/**
 * The server modules is responsible to start a DEV server
 * and to proxy the resources/, test-resources/, data/ URLs
 * to the proper URLs:
 * 
 * resources/ => https://sapui5.hana.ondemand.com/resources/
 * test-resources/ => https://sapui5.hana.ondemand.com/test-resources/
 * data/ => https://services.odata.org/V2/OData/OData.svc/
 */

'use strict';

var express = require('express');
var proxy = require('http-proxy-middleware');

var app = express();

app.use("/resources", proxy({target: "https://sapui5.hana.ondemand.com/resources/", pathRewrite: {
	'^/resources/' : ''
}, changeOrigin: true}));
app.use("/test-resources", proxy({target: "https://sapui5.hana.ondemand.com/test-resources/", pathRewrite: {
	'^/test-resources/' : ''
}, changeOrigin: true}));
app.use("/data", proxy({target: "https://services.odata.org/V2/OData/OData.svc/", pathRewrite: {
	'^/data/' : ''
}, changeOrigin: true}));

app.use(express.static('dist'));

var port = 3000;
app.listen(port, function () {
	console.log('Server listening on port ' + port + '\n');
});
{'fraction_non_alphanumeric': 0.20854386770785485, 'fraction_numerical': 0.009186954524575103, 'mean_word_length': 4.299270072992701, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 11, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '1727631', 'n_tokens_mistral': 770, 'n_tokens_neox': 743, 'n_words': 150}