fix #602: treat www, wwws and secure as the same domain

This commit is contained in:
antelle 2017-04-18 19:05:27 +02:00
parent dadc8160f7
commit ef44bd95d7
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
const EntryCollection = require('../collections/entry-collection');
const urlPartsRegex = /^(\w+:\/\/)?(?:www\.)?([^\/]+)\/?(.*)/;
const urlPartsRegex = /^(\w+:\/\/)?(?:(?:www|wwws|secure)\.)?([^\/]+)\/?(.*)/;
const AutoTypeFilter = function(windowInfo, appModel) {
this.title = windowInfo.title;