starting
This commit is contained in:
parent
dc593081f8
commit
a3d5ecf460
5
.gitignore
vendored
5
.gitignore
vendored
@ -189,3 +189,8 @@ node_modules
|
||||
npm-debug.log
|
||||
testem.log
|
||||
/lib/newdata.json
|
||||
|
||||
# Elastic Beanstalk Files
|
||||
.elasticbeanstalk/*
|
||||
!.elasticbeanstalk/*.cfg.yml
|
||||
!.elasticbeanstalk/*.global.yml
|
||||
|
@ -3,9 +3,6 @@ const config = {};
|
||||
config.db = {};
|
||||
// config.webhost = 'http://nurl.co/';
|
||||
config.webhost = 'http://localhost:7000/';
|
||||
config.port = 6566;
|
||||
|
||||
config.db.host = 'localhost';
|
||||
config.db.name = 'url_shortener';
|
||||
config.port = process.env.PORT || 6566;
|
||||
|
||||
module.exports = config;
|
||||
|
411
http:%2F%2Fsilvrtree.co.uk%2Fslack.html
Normal file
411
http:%2F%2Fsilvrtree.co.uk%2Fslack.html
Normal file
@ -0,0 +1,411 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="viewport" content="width=360; initial-scale=1;">
|
||||
<meta charset="UTF-8">
|
||||
<title>Events</title>
|
||||
|
||||
<meta name="Author" content=""/>
|
||||
<link rel="stylesheet" href="live/fonts/fonts.css">
|
||||
|
||||
<link href="live/css/mui.custom.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Slack - I have plenty of talent and vision I just don't give a damn -->
|
||||
<header id="header">
|
||||
<div class="mui-appbar mui--appbar-line-height">
|
||||
<div class="mui-container-fluid">
|
||||
Slack
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
<div class="mui-container">
|
||||
<div class="mui--appbar-height">
|
||||
</div>
|
||||
<div id="container" class="mui-panel">
|
||||
<div class="mui-row" id="events">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="mui-panel">
|
||||
<div class="mui-row">
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Starting Points/Metasites</div>
|
||||
<ul>
|
||||
<li><a href="https://www.silvrtree.co.uk/today">Today</a></li>
|
||||
<li><a href="https://www.silvrtree.co.uk/events">Events</a></li>
|
||||
<li><a href="https://www.silvrtree.co.uk/cinema/0">Cinema</a></li>
|
||||
<li><a href="https://feedly.com/#my">Feedly</a></li>
|
||||
<li><a href="https://www.reddit.com">Reddit</a></li>
|
||||
<li><a href="http://www.facebook.com/">Facebook</a></li>
|
||||
<li><a href="http://www.yahoo.com/">Yahoo!</a></li>
|
||||
<li><a href="https://stackedit.io/editor">Journal Editor</a></li>
|
||||
<li><a href="http://www.unmajestic.com/home/bookmarks.php">Slack Bookmarks</a></li>
|
||||
<li><a href="http://www.rssmix.com/u/7711845">Paleo Mix</a></li>
|
||||
<li><a href="http://status.hivehome.com/">Hive Status</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Tools</div>
|
||||
<ul>
|
||||
<li><a href='https://kanbanflow.com'>Kanban Flow</a></li>
|
||||
<li><a href="https://www.linode.com/">Linode</a></li>
|
||||
<li><a href="http://www.colorzilla.com/gradient-editor/">CSS Gradient Generator</a></li>
|
||||
<li><a href="http://utilities-online.info/xmltojson">XML to JSON</a></li>
|
||||
<li><a href="http://shancarter.com/data_converter">CSV to JSON</a></li>
|
||||
<li><a href="http://cubic-bezier.com/">Cubic Bezier</a></li>
|
||||
<li><a href="http://gskinner.com/RegExr/">RegEx Tool</a></li>
|
||||
<li><a href="http://closure-compiler.appspot.com/home">Closure Compiler</a></li>
|
||||
<li><a href="http://jsonlint.com/">JSON Lint</a></li>
|
||||
<li><a href="http://jsoneditoronline.org/">JSON Editor</a></li>
|
||||
<li><a href="http://www.base64decode.org/">Base64 Decoder</a></li>
|
||||
<li><a href="http://jsbeautifier.org/">JS Beautifier</a></li>
|
||||
<li><a href="http://spritepad.wearekiss.com/">Spritepad</a></li>
|
||||
<li><a href="http://draeton.github.com/stitches/">Sprite Sheet Generator</a></li>
|
||||
<li><a href="http://www.cleancss.com/">CSS Optimizer</a></li>
|
||||
<li><a href="http://fontello.com/">Icon Font Generator</a></li>
|
||||
<li><a href="http://html2jade.aaron-powell.com/">HTML to Jade</a></li>
|
||||
<li><a href="http://cdnjs.com//">Cloudflare JS CDN</a></li>
|
||||
<li><a href="http://www.willpeavy.com/minifier/">HTML Minifier</a></li>
|
||||
<li><a href='https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet'>XSS Cheat Sheet</a></li>
|
||||
<li><a href='http://jsfiddle.net/'>JSFiddle</a></li>
|
||||
<li><a href="http://jsbin.com/">JS Bin</a></li>
|
||||
<li><a href='https://draftin.com/documents'>Draftin</a></li>
|
||||
<li><a href="https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html">Android Asset</a></li>
|
||||
<li><a href="https://xkpasswd.net/s/">Password Generator</a></li>
|
||||
<li><a href="https://howsecureismypassword.net/">Password Checker</a></li>
|
||||
<li><a href="https://archive.today">Archive Today</a></li>
|
||||
<li><a href="http://staticmapmaker.com/google/">Static Map Generator</a></li>
|
||||
<li><a href="https://httpbin.org/">AJAX Endpoints</a></li>
|
||||
<li><a href="https://tools.bartlweb.net/webssh/">WebSSH</a></li>
|
||||
<li><a href="http://jade-lang.com/demo/">Jade Tester</a></li>
|
||||
<li><a href="https://es6console.com/">ES6 Console</a></li>
|
||||
</ul>
|
||||
<div id="passwords">
|
||||
<button class="mui-btn mui-btn--flat" id='newPassword'>Generate Password</button>
|
||||
<div id='passwordOut' class='password mui--hide'>Something</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Bitcoin <span id="trend"> </span><span id="btc"></span></div>
|
||||
<ul>
|
||||
<li><a href="https://www.bitstamp.net">Bitstamp</a></li>
|
||||
<li><a href="https://www.kraken.net">Kraken</a></li>
|
||||
<li><a href="https://cryptowat.ch/">Cryptowat.ch</a></li>
|
||||
<li><a href="http://www.coindesk.com/price/">BTC Chart</a></li>
|
||||
<li><a href="https://bitcoinwisdom.com/">BTC Chart 2</a></li>
|
||||
<li><a href="http://bitcoinity.org/markets/bitstamp/USD">BitStamp Chart</a></li>
|
||||
<li><a href="http://btc-chart.com/market/bitstamp/86400">Bitstamp Chart 2</a></li>
|
||||
<li><a href="https://bitbargain.co.uk">BitBargin UK</a></li>
|
||||
<li><a href="https://yacuna.com/">Yacuna UK</a></li>
|
||||
<li><a href="http://blockchain.info/">Blockchain</a></li>
|
||||
<li><a href="http://bitminter.com/">Bitminter</a></li>
|
||||
<li><a href="http://preev.com/">BTC Exchange Rate</a></li>
|
||||
<li><a href="http://www.silvrtree.co.uk/watch.html">CFT Watcher</a>
|
||||
<span style="cursor: pointer;"
|
||||
onclick="popitoutSmall('http://www.silvrtree.co.uk/watch.html');"><img
|
||||
src="gfx/popout.png"></span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mui-row">
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Package Tracking</div>
|
||||
<!-- Computer News -->
|
||||
<ul>
|
||||
<li><a href="http://m.ups.com/">UPS</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Weather</div>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="http://www.accuweather.com/ukie/index-forecast.asp?postalcode=G82%201RG">Dumbarton
|
||||
Weather</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=dumbarton,%20uk&wuSelect=WEATHER">WU
|
||||
Dumbarton Weather</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://weather.yahoo.com/forecast/UKXX0663.html?unit=c">Y! Dumbarton Weather</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.accuweather.com/ukie/index-forecast.asp?postalcode=G9%202SU">Glasgow
|
||||
Weather</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=glasgow,%20uk&wuSelect=WEATHER">WU
|
||||
Glasgow Weather</a>
|
||||
</li>
|
||||
<li><a href="http://www.nowcast.co.uk/lightning/">Live Lightning</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.upminsterweather.co.uk/test/live_lightning.htm">Other Live Lightning</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.meteorologica.info/freedata_lightning.htm">Closer Live Lightning</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.malvernwx.co.uk/lightning_data/lightning.htm">Multiple Lightning</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.blitzortung.org/Webpages/index.php">European Lightning</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.madpaddler.net/wxlightning.php">East Kilbride Lightning</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.bordersweather.co.uk/wxlightning.php">Borders Lightning</a>
|
||||
</li>
|
||||
<li><a href='http://www.lightningmaps.org/blitzortung/europe/index.php?bo_page=map&lang=en'>Best Live Lightning</a></li>
|
||||
<li><a href="http://www.madpaddler.net/wxais.php">Ships</a></li>
|
||||
<li><a href='http://www.raintoday.co.uk/'>Rain Today</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Free Email WEBpages</div>
|
||||
<!-- Free Email WEBpages -->
|
||||
<ul>
|
||||
<li><a href="http://gmail.google.com/">Gmail</a></li>
|
||||
<li>
|
||||
<a href="http://www.unmajestic.com/webmail/">Unmajestic Webmail</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.artizanconsulting.co.uk/webmail/">Artizan Webmail</a>
|
||||
</li>
|
||||
<li><a href="http://mail.yahoo.com">Yahoo Mail</a></li>
|
||||
<li>
|
||||
<a href="https://www.guerrillamail.com/">Guerrilla Mail Anti Spam</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mui-row">
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Contracting</div>
|
||||
<ul>
|
||||
<li><a href='https://outsauce.backofficeportal.com/Secure/Candidate/Default.aspx'>Outsauce Timesheets</a></li>
|
||||
<li><a href='https://worksheets.computerfutures.com/'>CF Timesheets</a></li>
|
||||
<li><a href="http://www.monster.co.uk/">monster</a></li>
|
||||
<li><a href="http://www.cwjobs.co.uk/">cwjobs</a></li>
|
||||
<li><a href="http://www.s1jobs.com/myaccount/">s1jobs</a></li>
|
||||
<li><a href="http://www.jobserve.com/">jobserve</a></li>
|
||||
<li><a href="http://www.jobsite.co.uk/jbe/myprofile/">jobsite</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.itjobswatch.co.uk/contracts/scotland/asp.do">IT Jobs Watch Scotland</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Entertainment</div>
|
||||
<!-- Entertainment -->
|
||||
<ul>
|
||||
<li>
|
||||
<a href="http://genre.amazingradio.co.uk:8000/stream.mp3?arplayer=1">Amazing Radio Chill</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.cineworld.co.uk/cinemas/28?fallback=false&isMobileAgent=false">Cineworld</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.showcasecinemas.co.uk/showtimes/default.asp?selectTheatre=8508">Showcase</a>
|
||||
</li>
|
||||
<li><a href="http://www.imdb.com/">Imdb</a></li>
|
||||
<li><a href="http://www.epguides.com/">EPGuides</a></li>
|
||||
<li><a href="http://eztv.it">Eztv</a></li>
|
||||
<li><a href="http://www.mininova.org">Mininova</a></li>
|
||||
<li><a href="http://www.scrapetorrent.com">Scrapetorrent</a></li>
|
||||
<li>
|
||||
<a href="http://glasgow.myvillage.com/events">Whats on In Glasgow</a>
|
||||
</li>
|
||||
<li><a href="http://www.5pm.co.uk/Search/Event/">Local Events</a>
|
||||
</li>
|
||||
<li><a href="http://necta.jansenit.com:8000/necta192.mp3">Nectarine</a>
|
||||
</li>
|
||||
<li><a href="/playlists/str.pls">STR - Space Travel Radio</a>
|
||||
</li>
|
||||
<li><a href="/playlists/musik.drumstep.pls">musik.drumstep</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Travel <span id="fx"></div>
|
||||
<!-- Travel -->
|
||||
<div id="trains"></div>
|
||||
<!--<span>DBEGLQ: <button class="mui-btn mui-btn--flat" id="dbeglq"></button></span> <span>GLQDBE: <button class="mui-btn mui-btn--flat" id="glqdbe"></button></span>-->
|
||||
<div id='trainResults' class="mui--hide"></div>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='http://www.journeycheck.com/firstscotrail'>Journey Check</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.theaa.com/traffic-news/glasgow%20uk/">AA Traffic News</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://ojp.nationalrail.co.uk/service/ldbboard/dep/DBE/WES/To?ar=true">DBE->WES</a>
|
||||
/
|
||||
<a href="http://www.traintime.uk/index.php?view=desktop&from=DBE&to=WES">Advanced</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://ojp.nationalrail.co.uk/service/ldbboard/dep/WES/DBE/To?ar=true">WES->DBE</a>
|
||||
<span style="cursor: pointer;"
|
||||
onclick="popitout('http://ojp.nationalrail.co.uk/service/ldbboard/dep/WES/DBE/To?ar=true#skip-content-hold');"><img
|
||||
src="gfx/popout.png"></span>
|
||||
/
|
||||
<a href="http://www.traintime.uk/index.php?view=desktop&from=WES&to=DBE">Advanced</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.livedepartureboards.co.uk/ldb/summary.aspx?T=DBE">DBE Board</a>
|
||||
/
|
||||
<a href="http://www.stationboard.uk/index.php?view=desktop&station1=DBE&direction=departures">Advanced</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.livedepartureboards.co.uk/ldb/summary.aspx?T=GLQ">GLQ Trains</a> /
|
||||
<a href="http://www.stationboard.uk/index.php?view=desktop&station1=GLQ&direction=departures">Adv</a> /
|
||||
<a href="http://www.traintime.uk/index.php?view=desktop&from=GLQ&to=DBE">GLQ->DBE</a>
|
||||
</li>
|
||||
<li><a href="http://www.kayak.co.uk/">Kayak</a></li>
|
||||
<li><a href="http://www.travelocity.co.uk/">Travelocity</a></li>
|
||||
<li><a href="http://www.travel.com/sitemap.htm">Travel.com</a></li>
|
||||
<li>
|
||||
<a href="http://www.landings.com/_landings/pages/commercial.html">Airlines</a>
|
||||
</li>
|
||||
<li><a href="http://www.flightstats.com">Landings</a></li>
|
||||
<li>
|
||||
<a href="http://www.lib.utexas.edu/Libs/PCL/Map_collection/map_sites/map_sites.html#general">Maps</a>
|
||||
</li>
|
||||
<li><a href="http://www.sitesatlas.com/Maps/">Maps2</a></li>
|
||||
<li><a href="http://www.itn.net/">ITN</a></li>
|
||||
<li><a href="http://bahn.hafas.de/bin/query.exe/en">HAFAS</a></li>
|
||||
<li><a href="http://bahn.hafas.de/bin/query.exe/en">DieBahn</a></li>
|
||||
<li><a href="http://www.cwrr.com/nmra/travelreg.html">RailUSA</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.trainweb.com/frames_travel.html">TrainWeb</a>
|
||||
</li>
|
||||
<li><a href="http://www.cwrr.com/nmra/travelw2.html">RailWorld</a>
|
||||
</li>
|
||||
<li><a href="http://www.xe.net/currency/">Currency Converter</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.cia.gov/cia/publications/factbook/index.html">CIA</a>
|
||||
</li>
|
||||
<li><a href="http://maps.google.com/">GMaps</a></li>
|
||||
<li><a href='https://unop.uk/tube/'>Tube Status</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mui-row">
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Computer Software, etc.</div>
|
||||
<ul>
|
||||
<li><a href="">Portable Apps</a></li>
|
||||
<li><a href="http://www.newfreeware.com/">NewFreeware</a></li>
|
||||
<li>
|
||||
<a href="http://www.makeuseof.com/tag/portable-software-usb/">Portable Software</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.portablefreeware.com/">Portable Freeware Collection</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Reference & Special sites</div>
|
||||
<!-- Reference and Special sites -->
|
||||
<ul>
|
||||
<li><a href="http://www.glossarist.com/default.asp">Glossaries</a>
|
||||
</li>
|
||||
<li><a href="http://www.convert-me.com/en/">Converters</a></li>
|
||||
<li>
|
||||
<a href="http://decoder.americom.com/cgi-bin/decoder.cgi">DECODE</a>
|
||||
</li>
|
||||
<li><a href="http://www.rxlist.com/">Drugs</a></li>
|
||||
<li><a href="http://www.ncbi.nlm.nih.gov/PubMed/">Medline</a></li>
|
||||
<li>
|
||||
<a href="http://www.logos.it/dictionary/owa/sp?lg=EN">Translation</a>
|
||||
</li>
|
||||
<li><a href="http://www.onelook.com/">One Look</a></li>
|
||||
<li><a href="http://www.defenselink.mil/">US Military</a></li>
|
||||
<li><a href="http://www.fedworld.gov/">US Fed</a></li>
|
||||
<li><a href="http://www.ih2000.net/ira/legal.htm">Legal</a></li>
|
||||
<li><a href="http://www.nih.gov/">NIH</a></li>
|
||||
<li><a href="http://www.refdesk.com/">RefDESK</a></li>
|
||||
<li><a href="http://www.britannica.com/">Britannica</a></li>
|
||||
<li><a href="http://www.capitolimpact.com/gw/">States</a></li>
|
||||
<li><a href="http://www.packtrack.com/">PackTrack</a></li>
|
||||
<li><a href="http://www.acronymfinder.com/">Acronym</a></li>
|
||||
<li><a href="http://www.visualthesaurus.com/">V-Thes</a></li>
|
||||
<li>
|
||||
<a href="http://www.timelineindex.com/content/home/forced">Timelines</a>
|
||||
</li>
|
||||
<li><a href="http://en.wikipedia.org/wiki/Main_Page">Wikipedia</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="mui-col-md-4">
|
||||
<div class="mui--text-title mui-text-black">Earth and Beyond</div>
|
||||
<!-- Good Reading Misc. -->
|
||||
<ul>
|
||||
<li><a href="http://enbarsenal.com">ENB Arsenal</a></li>
|
||||
<li><a href="http://enb.wikia.com/">ENB Wikia</a></li>
|
||||
<li><a href="http://enb.gearlist.co.uk/">Gear List</a></li>
|
||||
<li><a href='http://forum.enb-emulator.com/'>Emu Forum</a></li>
|
||||
<li><a href="http://net-7.org/wiki/index.php?title=Main_Page">Net 7 Wiki</a></li>
|
||||
<li><a href="http://spaceengineers.wikia.com/wiki/Space_Engineers_Wiki">Space Engineers Wiki</a></li>
|
||||
<li><a href="http://forums.keenswh.com/">Space Engineers Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div id='weather' class="mui-panel"></div>
|
||||
</div>
|
||||
|
||||
<script type="text/template" id="password-template">
|
||||
<div>Long: {{=long }}</div><div>Short: {{=short }}</div>
|
||||
</script>
|
||||
</body>
|
||||
<script src="live/js/vendor.js"></script>
|
||||
<script src="live/js/app.js"></script>
|
||||
<script>
|
||||
;(function (w) {
|
||||
navigator.geolocation.getCurrentPosition((show_weather) => {
|
||||
w.weather = new WeatherSlim({model: new WeatherModel({geo:show_weather})});
|
||||
});
|
||||
|
||||
w.contractEnds = new EventView({model:new EventModel({event:new Date(2017, 8, 29), label: 'Contract Ends:'})});
|
||||
w.bitcoin = new Bitcoin({model: new BitcoinModel()});
|
||||
w.fx = new FxView({model: new FxModel()});
|
||||
w.dbqglqView = new TrainView({model: new TrainModel({from: 'dbe', to: 'glq'})});
|
||||
w.glqdbeView = new TrainView({model: new TrainModel({from: 'glq', to: 'dbe'})});
|
||||
w.glqhymView = new TrainView({model: new TrainModel({from: 'glq', to: 'hym'})});
|
||||
w.hymglqView = new TrainView({model: new TrainModel({from: 'hym', to: 'glq'})});
|
||||
|
||||
w.passwords = new PasswordView();
|
||||
})(window);
|
||||
|
||||
</script>
|
||||
</html>
|
207
package-lock.json
generated
207
package-lock.json
generated
@ -56,9 +56,9 @@
|
||||
"optional": true
|
||||
},
|
||||
"apicache": {
|
||||
"version": "0.11.2",
|
||||
"resolved": "https://registry.npmjs.org/apicache/-/apicache-0.11.2.tgz",
|
||||
"integrity": "sha512-olsFYz/fxxJPnZ3I8KG9CL40PaibfWhXJ+C0JO2ti4N3xsnCJ3plm50tj4eBguMqHaUBBVqsaFGyfZ8vpyZXEg=="
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/apicache/-/apicache-1.1.0.tgz",
|
||||
"integrity": "sha512-xgsrQM5oMcgcFtYDyFC6AZzNvvrj23WbV/PGUFfhyQPQRSIvPTUpcjQ4USAcJbnnaAzyIUHv+Xk+mdeHiEjafQ=="
|
||||
},
|
||||
"array-flatten": {
|
||||
"version": "1.1.1",
|
||||
@ -76,9 +76,9 @@
|
||||
"integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ="
|
||||
},
|
||||
"ast-types": {
|
||||
"version": "0.9.12",
|
||||
"resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.9.12.tgz",
|
||||
"integrity": "sha1-sTYwDWcCZiWuFTJpgsqZGOXbc8k=",
|
||||
"version": "0.9.13",
|
||||
"resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.9.13.tgz",
|
||||
"integrity": "sha512-72w1vrspLfSP4htDZWMgDya3gz7VFIojiaxWdXfJkpR/KouBvJZ2xoHxG79VwdGr8ZdG/b6zgwqoIG24QtRqCQ==",
|
||||
"optional": true
|
||||
},
|
||||
"async": {
|
||||
@ -133,19 +133,19 @@
|
||||
}
|
||||
},
|
||||
"body-parser": {
|
||||
"version": "1.18.0",
|
||||
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.0.tgz",
|
||||
"integrity": "sha1-07Ik1Gf6LOjUNYnAJFBDJnwJNjQ=",
|
||||
"version": "1.18.2",
|
||||
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz",
|
||||
"integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=",
|
||||
"requires": {
|
||||
"bytes": "3.0.0",
|
||||
"content-type": "1.0.3",
|
||||
"debug": "2.6.8",
|
||||
"content-type": "1.0.4",
|
||||
"debug": "2.6.9",
|
||||
"depd": "1.1.1",
|
||||
"http-errors": "1.6.2",
|
||||
"iconv-lite": "0.4.18",
|
||||
"iconv-lite": "0.4.19",
|
||||
"on-finished": "2.3.0",
|
||||
"qs": "6.5.0",
|
||||
"raw-body": "2.3.1",
|
||||
"qs": "6.5.1",
|
||||
"raw-body": "2.3.2",
|
||||
"type-is": "1.6.15"
|
||||
}
|
||||
},
|
||||
@ -220,9 +220,9 @@
|
||||
"integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ="
|
||||
},
|
||||
"content-type": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.3.tgz",
|
||||
"integrity": "sha1-2hjvL7ZMpqzJBcxyAX0/OBhbkdE="
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
|
||||
"integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
|
||||
},
|
||||
"cookie": {
|
||||
"version": "0.3.1",
|
||||
@ -274,9 +274,9 @@
|
||||
"integrity": "sha1-vn32jsJw/Z7HhIK9hb5oyPuPvrw="
|
||||
},
|
||||
"debug": {
|
||||
"version": "2.6.8",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz",
|
||||
"integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=",
|
||||
"version": "2.6.9",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
|
||||
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
|
||||
"requires": {
|
||||
"ms": "2.0.0"
|
||||
}
|
||||
@ -293,7 +293,7 @@
|
||||
"integrity": "sha1-/PSQo37OJmRk2cxDGrmMWBnO0JU=",
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ast-types": "0.9.12",
|
||||
"ast-types": "0.9.13",
|
||||
"escodegen": "1.9.0",
|
||||
"esprima": "3.1.3"
|
||||
}
|
||||
@ -380,43 +380,52 @@
|
||||
"optional": true
|
||||
},
|
||||
"etag": {
|
||||
"version": "1.8.0",
|
||||
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.0.tgz",
|
||||
"integrity": "sha1-b2Ma7zNtbEY2K1F2QETOIWvjwFE="
|
||||
"version": "1.8.1",
|
||||
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
|
||||
"integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
|
||||
},
|
||||
"express": {
|
||||
"version": "4.15.4",
|
||||
"resolved": "https://registry.npmjs.org/express/-/express-4.15.4.tgz",
|
||||
"integrity": "sha1-Ay4iU0ic+PzgJma+yj0R7XotrtE=",
|
||||
"version": "4.16.1",
|
||||
"resolved": "https://registry.npmjs.org/express/-/express-4.16.1.tgz",
|
||||
"integrity": "sha512-STB7LZ4N0L+81FJHGla2oboUHTk4PaN1RsOkoRh9OSeEKylvF5hwKYVX1xCLFaCT7MD0BNG/gX2WFMLqY6EMBw==",
|
||||
"requires": {
|
||||
"accepts": "1.3.4",
|
||||
"array-flatten": "1.1.1",
|
||||
"body-parser": "1.18.2",
|
||||
"content-disposition": "0.5.2",
|
||||
"content-type": "1.0.3",
|
||||
"content-type": "1.0.4",
|
||||
"cookie": "0.3.1",
|
||||
"cookie-signature": "1.0.6",
|
||||
"debug": "2.6.8",
|
||||
"debug": "2.6.9",
|
||||
"depd": "1.1.1",
|
||||
"encodeurl": "1.0.1",
|
||||
"escape-html": "1.0.3",
|
||||
"etag": "1.8.0",
|
||||
"finalhandler": "1.0.4",
|
||||
"fresh": "0.5.0",
|
||||
"etag": "1.8.1",
|
||||
"finalhandler": "1.1.0",
|
||||
"fresh": "0.5.2",
|
||||
"merge-descriptors": "1.0.1",
|
||||
"methods": "1.1.2",
|
||||
"on-finished": "2.3.0",
|
||||
"parseurl": "1.3.2",
|
||||
"path-to-regexp": "0.1.7",
|
||||
"proxy-addr": "1.1.5",
|
||||
"qs": "6.5.0",
|
||||
"proxy-addr": "2.0.2",
|
||||
"qs": "6.5.1",
|
||||
"range-parser": "1.2.0",
|
||||
"send": "0.15.4",
|
||||
"serve-static": "1.12.4",
|
||||
"setprototypeof": "1.0.3",
|
||||
"safe-buffer": "5.1.1",
|
||||
"send": "0.16.1",
|
||||
"serve-static": "1.13.1",
|
||||
"setprototypeof": "1.1.0",
|
||||
"statuses": "1.3.1",
|
||||
"type-is": "1.6.15",
|
||||
"utils-merge": "1.0.0",
|
||||
"vary": "1.1.1"
|
||||
"utils-merge": "1.0.1",
|
||||
"vary": "1.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"setprototypeof": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
|
||||
"integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"extend": {
|
||||
@ -442,11 +451,11 @@
|
||||
"optional": true
|
||||
},
|
||||
"finalhandler": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.0.4.tgz",
|
||||
"integrity": "sha512-16l/r8RgzlXKmFOhZpHBztvye+lAhC5SU7hXavnerC9UfZqZxxXl3BzL8MhffPT3kF61lj9Oav2LKEzh0ei7tg==",
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz",
|
||||
"integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=",
|
||||
"requires": {
|
||||
"debug": "2.6.8",
|
||||
"debug": "2.6.9",
|
||||
"encodeurl": "1.0.1",
|
||||
"escape-html": "1.0.3",
|
||||
"on-finished": "2.3.0",
|
||||
@ -461,7 +470,7 @@
|
||||
"integrity": "sha1-jjQpjL0uF28lTv/sdaHHjMhJ/Tc=",
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"debug": "2.6.8"
|
||||
"debug": "2.6.9"
|
||||
}
|
||||
},
|
||||
"forever-agent": {
|
||||
@ -480,14 +489,14 @@
|
||||
}
|
||||
},
|
||||
"forwarded": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.1.tgz",
|
||||
"integrity": "sha1-ik4wxkCwU5U5mjVJxzAldygEiWE="
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
|
||||
"integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
|
||||
},
|
||||
"fresh": {
|
||||
"version": "0.5.0",
|
||||
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.0.tgz",
|
||||
"integrity": "sha1-9HTKXmqSRtb9jglTz6m5yAWvp44="
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
|
||||
"integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
|
||||
},
|
||||
"ftp": {
|
||||
"version": "0.3.10",
|
||||
@ -541,7 +550,7 @@
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"data-uri-to-buffer": "1.2.0",
|
||||
"debug": "2.6.8",
|
||||
"debug": "2.6.9",
|
||||
"extend": "3.0.1",
|
||||
"file-uri-to-path": "1.0.0",
|
||||
"ftp": "0.3.10",
|
||||
@ -634,7 +643,7 @@
|
||||
"integrity": "sha1-zBzjjkU7+YSg93AtLdWcc9CBKEo=",
|
||||
"requires": {
|
||||
"agent-base": "2.1.1",
|
||||
"debug": "2.6.8",
|
||||
"debug": "2.6.9",
|
||||
"extend": "3.0.1"
|
||||
}
|
||||
},
|
||||
@ -673,14 +682,14 @@
|
||||
"integrity": "sha1-NffabEjOTdv6JkiRrFk+5f+GceY=",
|
||||
"requires": {
|
||||
"agent-base": "2.1.1",
|
||||
"debug": "2.6.8",
|
||||
"debug": "2.6.9",
|
||||
"extend": "3.0.1"
|
||||
}
|
||||
},
|
||||
"iconv-lite": {
|
||||
"version": "0.4.18",
|
||||
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.18.tgz",
|
||||
"integrity": "sha512-sr1ZQph3UwHTR0XftSbK85OvBbxe/abLGzEnPENCQwmHf7sck8Oyu4ob3LgBxWWxRoM+QszeUyl7jbqapu2TqA=="
|
||||
"version": "0.4.19",
|
||||
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz",
|
||||
"integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ=="
|
||||
},
|
||||
"inflection": {
|
||||
"version": "1.10.0",
|
||||
@ -700,9 +709,9 @@
|
||||
"optional": true
|
||||
},
|
||||
"ipaddr.js": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.4.0.tgz",
|
||||
"integrity": "sha1-KWrKh4qCGBbluF0KKFqZvP9FgvA="
|
||||
"version": "1.5.2",
|
||||
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.5.2.tgz",
|
||||
"integrity": "sha1-1LUFvemUaYfM8PxY2QEP+WB+P6A="
|
||||
},
|
||||
"is-my-json-valid": {
|
||||
"version": "2.16.1",
|
||||
@ -840,13 +849,13 @@
|
||||
"optional": true
|
||||
},
|
||||
"log4js": {
|
||||
"version": "2.3.3",
|
||||
"resolved": "https://registry.npmjs.org/log4js/-/log4js-2.3.3.tgz",
|
||||
"integrity": "sha1-GLrAtbEFLRB40l59mwzymPSZ2RU=",
|
||||
"version": "2.3.4",
|
||||
"resolved": "https://registry.npmjs.org/log4js/-/log4js-2.3.4.tgz",
|
||||
"integrity": "sha1-+tOZKLKESHVWiPhhE53c7nG2NX8=",
|
||||
"requires": {
|
||||
"axios": "0.15.3",
|
||||
"date-format": "1.1.0",
|
||||
"debug": "2.6.8",
|
||||
"debug": "2.6.9",
|
||||
"hipchat-notifier": "1.1.0",
|
||||
"loggly": "1.1.1",
|
||||
"mailgun-js": "0.7.15",
|
||||
@ -1012,9 +1021,9 @@
|
||||
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
|
||||
},
|
||||
"mime": {
|
||||
"version": "1.3.4",
|
||||
"resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz",
|
||||
"integrity": "sha1-EV+eO2s9rylZmDyzjxSaLUDrXVM="
|
||||
"version": "1.4.1",
|
||||
"resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz",
|
||||
"integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ=="
|
||||
},
|
||||
"mime-db": {
|
||||
"version": "1.30.0",
|
||||
@ -1183,13 +1192,13 @@
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"agent-base": "2.1.1",
|
||||
"debug": "2.6.8",
|
||||
"debug": "2.6.9",
|
||||
"extend": "3.0.1",
|
||||
"get-uri": "2.0.1",
|
||||
"http-proxy-agent": "1.0.0",
|
||||
"https-proxy-agent": "1.0.0",
|
||||
"pac-resolver": "2.0.0",
|
||||
"raw-body": "2.3.1",
|
||||
"raw-body": "2.3.2",
|
||||
"socks-proxy-agent": "2.1.1"
|
||||
}
|
||||
},
|
||||
@ -1286,12 +1295,12 @@
|
||||
"integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M="
|
||||
},
|
||||
"proxy-addr": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-1.1.5.tgz",
|
||||
"integrity": "sha1-ccDuOxAt4/IC87ZPYI0XP8uhqRg=",
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.2.tgz",
|
||||
"integrity": "sha1-ZXFQT0e7mI7IGAJT+F3X4UlSvew=",
|
||||
"requires": {
|
||||
"forwarded": "0.1.1",
|
||||
"ipaddr.js": "1.4.0"
|
||||
"forwarded": "0.1.2",
|
||||
"ipaddr.js": "1.5.2"
|
||||
}
|
||||
},
|
||||
"proxy-agent": {
|
||||
@ -1301,7 +1310,7 @@
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"agent-base": "2.1.1",
|
||||
"debug": "2.6.8",
|
||||
"debug": "2.6.9",
|
||||
"extend": "3.0.1",
|
||||
"http-proxy-agent": "1.0.0",
|
||||
"https-proxy-agent": "1.0.0",
|
||||
@ -1322,9 +1331,9 @@
|
||||
"optional": true
|
||||
},
|
||||
"qs": {
|
||||
"version": "6.5.0",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.0.tgz",
|
||||
"integrity": "sha512-fjVFjW9yhqMhVGwRExCXLhJKrLlkYSaxNWdyc9rmHlrVZbk35YHH312dFd7191uQeXkI3mKLZTIbSvIeFwFemg=="
|
||||
"version": "6.5.1",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz",
|
||||
"integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A=="
|
||||
},
|
||||
"querystring": {
|
||||
"version": "0.2.0",
|
||||
@ -1337,13 +1346,13 @@
|
||||
"integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4="
|
||||
},
|
||||
"raw-body": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.1.tgz",
|
||||
"integrity": "sha512-sxkd1uqaSj41SG5Vet9sNAxBMCMsmZ3LVhRkDlK8SbCpelTUB7JiMGHG70AZS6cFiCRgfNQhU2eLnTHYRFf7LA==",
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz",
|
||||
"integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=",
|
||||
"requires": {
|
||||
"bytes": "3.0.0",
|
||||
"http-errors": "1.6.2",
|
||||
"iconv-lite": "0.4.18",
|
||||
"iconv-lite": "0.4.19",
|
||||
"unpipe": "1.0.0"
|
||||
}
|
||||
},
|
||||
@ -1452,19 +1461,19 @@
|
||||
"integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg=="
|
||||
},
|
||||
"send": {
|
||||
"version": "0.15.4",
|
||||
"resolved": "https://registry.npmjs.org/send/-/send-0.15.4.tgz",
|
||||
"integrity": "sha1-mF+qPihLAnPHkzZKNcZze9k5Bbk=",
|
||||
"version": "0.16.1",
|
||||
"resolved": "https://registry.npmjs.org/send/-/send-0.16.1.tgz",
|
||||
"integrity": "sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A==",
|
||||
"requires": {
|
||||
"debug": "2.6.8",
|
||||
"debug": "2.6.9",
|
||||
"depd": "1.1.1",
|
||||
"destroy": "1.0.4",
|
||||
"encodeurl": "1.0.1",
|
||||
"escape-html": "1.0.3",
|
||||
"etag": "1.8.0",
|
||||
"fresh": "0.5.0",
|
||||
"etag": "1.8.1",
|
||||
"fresh": "0.5.2",
|
||||
"http-errors": "1.6.2",
|
||||
"mime": "1.3.4",
|
||||
"mime": "1.4.1",
|
||||
"ms": "2.0.0",
|
||||
"on-finished": "2.3.0",
|
||||
"range-parser": "1.2.0",
|
||||
@ -1472,14 +1481,14 @@
|
||||
}
|
||||
},
|
||||
"serve-static": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.12.4.tgz",
|
||||
"integrity": "sha1-m2qpjutyU8Tu3Ewfb9vKYJkBqWE=",
|
||||
"version": "1.13.1",
|
||||
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.1.tgz",
|
||||
"integrity": "sha512-hSMUZrsPa/I09VYFJwa627JJkNs0NrfL1Uzuup+GqHfToR2KcsXFymXSV90hoyw3M+msjFuQly+YzIH/q0MGlQ==",
|
||||
"requires": {
|
||||
"encodeurl": "1.0.1",
|
||||
"escape-html": "1.0.3",
|
||||
"parseurl": "1.3.2",
|
||||
"send": "0.15.4"
|
||||
"send": "0.16.1"
|
||||
}
|
||||
},
|
||||
"setprototypeof": {
|
||||
@ -1583,7 +1592,7 @@
|
||||
"integrity": "sha1-K/5lDCW2qQqyVRWpC7W5uU45jw8=",
|
||||
"requires": {
|
||||
"date-format": "1.1.0",
|
||||
"debug": "2.6.8",
|
||||
"debug": "2.6.9",
|
||||
"mkdirp": "0.5.1",
|
||||
"readable-stream": "2.3.3"
|
||||
},
|
||||
@ -1741,9 +1750,9 @@
|
||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
|
||||
},
|
||||
"utils-merge": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz",
|
||||
"integrity": "sha1-ApT7kiu5N1FTVBxPcJYjHyh8ivg="
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
|
||||
"integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
|
||||
},
|
||||
"uuid": {
|
||||
"version": "3.1.0",
|
||||
@ -1751,9 +1760,9 @@
|
||||
"integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g=="
|
||||
},
|
||||
"vary": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.1.tgz",
|
||||
"integrity": "sha1-Z1Neu2lMHVIldFeYRmUyP1h+jTc="
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
|
||||
"integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
|
||||
},
|
||||
"verror": {
|
||||
"version": "1.10.0",
|
||||
|
@ -9,12 +9,12 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"apicache": "^0.11.2",
|
||||
"body-parser": "^1.18.0",
|
||||
"express": "^4.15.4",
|
||||
"apicache": "^1.1.0",
|
||||
"body-parser": "^1.18.2",
|
||||
"express": "^4.16.1",
|
||||
"http": "0.0.0",
|
||||
"https": "^1.0.0",
|
||||
"log4js": "^2.3.3",
|
||||
"log4js": "^2.3.4",
|
||||
"path": "^0.12.7",
|
||||
"request-promise-cache": "^1.0.6",
|
||||
"url": "^0.11.0"
|
||||
|
@ -1,9 +1,8 @@
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
const path = require('path');
|
||||
const bodyParser = require('body-parser');
|
||||
|
||||
const config = require('./config');
|
||||
// const config = require('./config');
|
||||
|
||||
const log4js = require('log4js');
|
||||
const logger = log4js.getLogger();
|
||||
@ -12,6 +11,8 @@ const http = require('http');
|
||||
const https = require('https');
|
||||
const apicache = require('apicache');
|
||||
|
||||
const port = process.env.PORT || 6566;
|
||||
|
||||
logger.level = 'debug';
|
||||
|
||||
// app.use(compression());
|
||||
@ -92,6 +93,6 @@ function getUrl (req, res) {
|
||||
|
||||
app.get('/:encoded_id', getUrl);
|
||||
|
||||
const server = app.listen(config.port, () => {
|
||||
logger.info(`Server listening on port ${config.port}`);
|
||||
const server = app.listen(port, () => {
|
||||
logger.info(`Server listening on port ${port}`);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user