zero-archive / node-url-shortener Goto Github PK
View Code? Open in Web Editor NEWA modern, minimalist, and lightweight URL shortener using Node.js and Redis
Home Page: https://github.com/dotzero/node-url-shortener
License: MIT License
A modern, minimalist, and lightweight URL shortener using Node.js and Redis
Home Page: https://github.com/dotzero/node-url-shortener
License: MIT License
I'm running this as a systemd service and my journal get spammed with gets
Is there any way to only show error messages?
Mar 21 21:15:08 1fw201s45z node[10378]: GET / 304 16ms
Mar 21 21:15:08 1fw201s45z node[10378]: GET /static/css/bootstrap-responsive.min.css 304 6ms
Mar 21 21:15:08 1fw201s45z node[10378]: GET /static/css/bootstrap.min.css 304 2ms
Mar 21 21:15:08 1fw201s45z node[10378]: GET /static/css/nus.css 304 0ms
Mar 21 21:15:08 1fw201s45z node[10378]: GET /static/js/jquery.min.js 304 1ms
Mar 21 21:15:08 1fw201s45z node[10378]: GET /static/js/bootstrap.min.js 304 1ms
Mar 21 21:15:08 1fw201s45z node[10378]: GET /static/js/nus.js 304 2ms
Mar 21 21:15:09 1fw201s45z node[10378]: GET /favicon.ico 200 7ms
Hey,
Thanks for creating this! Awesome library!
I'm running into an issue req.body.long_url being undefined no matter if I try raw json, form-data or any other option I have for a parameter.
Do you have any advice?
Thanks!
Allow a specific string to be passed instead of using a generated short link
TypeError: Cannot read property 'utf8' of undefined
at module.exports.headers.Last-Modified (/opt/zeebox/node-url-shortener/node_modules/connect-assetmanager/lib/assetmanager.js:357:36)
at Array.forEach (native)
at module.exports.headers.Last-Modified (/opt/zeebox/node-url-shortener/node_modules/connect-assetmanager/lib/assetmanager.js:352:36)
at module.exports.settings.forEach (/opt/zeebox/node-url-shortener/node_modules/connect-assetmanager/lib/assetmanager.js:32:6)
at Array.forEach (native)
at Object.module.exports.settings.forEach (/opt/zeebox/node-url-shortener/node_modules/connect-assetmanager/lib/assetmanager.js:30:22)
at Object.assetManager as handle
at next (/opt/zeebox/node-url-shortener/node_modules/connect/lib/http.js:204:15)
at Object.cookieParser as handle
at next (/opt/zeebox/node-url-shortener/node_modules/connect/lib/http.js:204:15)
root@dedi:/path_to_node_project/node# node server.js
Running in development mode @ http://domain.tld (altered for security reasons)
Caught exception: TypeError: Cannot call method 'parse' of undefined
TypeError: Cannot call method 'parse' of undefined
at Array.uglifyJsOptimize as 0
at modify (/path_to_node_project/node/node_modules/connect-assetmanager/lib/assetmanager.js:275:42)
at manipulate (/path_to_node_project/node/node_modules/connect-assetmanager/lib/assetmanager.js:281:7)
at Function.content (/path_to_node_project/node/node_modules/connect-assetmanager/lib/assetmanager.js:231:11)
at next (/path_to_node_project/node/node_modules/connect-assetmanager/node_modules/step/lib/step.js:51:23)
at /path_to_node_project/node/node_modules/connect-assetmanager/node_modules/step/lib/step.js:83:14
at check (/path_to_node_project/node/node_modules/connect-assetmanager/node_modules/step/lib/step.js:99:9)
at process._tickCallback (node.js:415:13)
Any advice?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.