loading...

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

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

Q2
why does ZEIT NOW display server.js instead of running it ?
A2
HACK lets just redirect the redirect to ZEIT NOW URL/server.js ie
https://rfugcoinorg.osde8info.now.sh/server.js

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

code is here

rfugcoin.org

rfugcoin.org




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. ❤️