zeit node express redirect example Q&A

twitter logo github logo ・1 min read

or how a SIMPLE project snowballed into a major headache that kept me up past midnight

i just wanted to write a single line of node to redirect a URL to URL/a-random-sub-page

first i read these docs

why would i even need deviate ?
HACK lets just forget about deviate

why does ZEIT NOW display server.js instead of running it ?
HACK lets just redirect the redirect to ZEIT NOW URL/server.js ie

would love to have better / correct answers to A1 and A2

code is here



twitter logo DISCUSS
Classic DEV Post from Apr 25 '18

Line-Based Truncation Methods

A walkthrough of a few methods for truncating text to a certain number of lines for any device or viewport size

Clive Da profile image
open source devops & open source webdev & open source sysadmin

Hey there reader...

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️