#how to use environment variables?

1 messages · Page 1 of 1 (latest)

edgy hearth
#

what is this question

edgy hearth
#

web dev? like html, css?

#

if it's just plain HTML, css, js you can't use environmental vars

#

wtf my client is glitching bad

#

yeah

#

new discord mobile ui is so buggy

blazing hatch
#

You cant change back to the old UI anymore

raven marsh
#

bro please open a thread in forum since this is is-a.dev specific

#

or just ask in general

#

and on node.js you can use the dotenv package

#
require("dotenv").config()
#

where ive been looking

#

is-a.dev?

#

like our hosting?

#

yeah that's static

#

you can do one thing

#

pretty sure projects like react build to static

#

build it in react

#

and build on your pc

#

then upload the build folder to wherever or is-a.dev

#

npm run build

#

I've done it with netlify for client projects

#

for when they want me to build a site once forever and will probably never update it

#

i use react for stuff like that because the syntax and everything makes it easier

#

and then just build to static

blazing hatch
#

you sure?

#

dont click that button then

#

did that mistake and cant revert

raven marsh
#

lemme off it

#

i never turned it on, it happened on it's own and there's no option to off it

blazing hatch
#

new UI cant make that thing anymore

raven marsh
#

android 13, latest discord app, pixel 6

raven marsh
#

i havent opened pc in days ive been sick

#

keep it as is

blazing hatch
#

for you, yes

raven marsh
#

dont update

blazing hatch
#

☝️

blazing hatch
#

like mute, deafen and probably more which i forgot

raven marsh
#

everyone pissed

#

people do have autism

#

why is this guy proud of it though

#

idk if it's something to be proud off

#

i mean sucks just as much to me

granite wing
#

why is this thread still here

edgy hearth
#

fr