https://linen.dev logo
Join Discord
Powered by
# general
  • c

    cumpsd

    05/05/2023, 11:54 AM
    I'll try a rewrite with nginx first
  • p

    Phorcys

    05/05/2023, 11:55 AM
    i see -- i think you might have to make an exception for coder since it makes assumptions about being on ``/``, and even if you strip the path, code that refers to ``/`` won't be magically fixed for logical reasons. I think it also makes assumptions based on the websocket path
  • c

    cumpsd

    05/05/2023, 11:56 AM
    I'm not a man of exceptions 😉 I probably will try to get it working, maybe it results in a PR, who knows
  • p

    Phorcys

    05/05/2023, 11:56 AM
    yolo, move everything to subdomains in order to make it the norm
  • c

    cumpsd

    05/05/2023, 11:56 AM
    I would argue the assumption of wanting to be on
    /
    is bad 🙂
  • p

    Phorcys

    05/05/2023, 11:57 AM
    I can understand that yeah
  • c

    cumpsd

    05/05/2023, 11:57 AM
    i'll give a ping if I get it working 😉 or give up
  • c

    cumpsd

    05/05/2023, 2:17 PM
    the nginx reverse proxy rewriting was no option 😉 the react router looked at the path and said... 404 😄
  • c

    cumpsd

    05/05/2023, 2:17 PM
    but in a styled way :p
  • c

    cumpsd

    05/05/2023, 2:27 PM
    apparently
    vite
    to build the site has support for a basepath, going to try that instead
  • c

    cumpsd

    05/05/2023, 2:30 PM
    https://stackoverflow.com/a/69746868/4329 look at that 😄 empty base path should make it all relative
  • r

    Ryanz

    05/05/2023, 2:48 PM
    Hey y'all i have a doubt
  • g

    Goose

    05/05/2023, 2:48 PM
    custom basepaths are such a PITA in my experience - good luck 🙂
  • r

    Ryanz

    05/05/2023, 2:49 PM
    Anyone know much about online game coding?
  • r

    Ryanz

    05/05/2023, 2:52 PM
    So I'm trying to make a spammer which repeats a message how much ever you want in the chat but the problem is i don't know how to make it to press enter
  • j

    JanL

    05/05/2023, 3:50 PM

    https://youtu.be/2rHqRvJYYtYâ–¾

    ... I think you're off topic here, this is about coder.com
  • p

    Phorcys

    05/06/2023, 8:57 PM
    is anyone here in devops? i have some questions about the job and would like to ask them, but I think it might be better in PMs than in general
  • m

    MrPeacock

    05/07/2023, 10:09 AM
    you can pm me
  • c

    cian

    05/08/2023, 10:48 AM
    You can also PM me
  • v

    VaneixusPrime

    05/08/2023, 2:22 PM
    No Minitest for Maths, exam is the 26th
  • t

    Tttyler

    05/08/2023, 8:26 PM
    Copy code
    Error: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied
      on main.tf line 21, in provider "docker":
        21: provider "docker" {
    every time i try to build a docker container i get this error
  • t

    Tttyler

    05/08/2023, 8:27 PM
    anyone help?
  • k

    kyle

    05/08/2023, 8:38 PM
    Be sure to add the
    coder
    user to the Docker group!
  • t

    Tttyler

    05/08/2023, 8:44 PM
    ?
  • t

    Tttyler

    05/08/2023, 8:45 PM
    how do i do that?
  • k

    kyle

    05/08/2023, 9:03 PM
    https://docs.docker.com/engine/install/linux-postinstall/#:~:text=sudo%20usermod%20%2DaG%20docker%20%24USER
  • t

    Tttyler

    05/08/2023, 9:21 PM
    do i need to restart for it to work, it still doesnt
  • t

    Tttyler

    05/08/2023, 9:30 PM
    it worked, thank you!
  • e

    Elio

    05/09/2023, 6:09 PM
    Anyone know why I would get this error when trying to sign in (accessing via a NodePort)?

    https://cdn.discordapp.com/attachments/971231372373033030/1105557078048780338/Screenshot_2023-05-09_at_11.08.25_AM.pngâ–¾

  • e

    Elio

    05/09/2023, 6:09 PM
    But when I port forward I have no issues
1...9293949596Latest