proudparrot2
proudparrot2
Explore posts from servers
NNuxt
Created by proudparrot2 on 5/29/2024 in #❓・help
Serving Nuxt with an Express server
I want to serve Nuxt inside an Express server. Is this possible? The reason I want to do this is because I have a function that handles incoming websocket requests and deals with them accordingly Currently using express alongside a node:http server
httpServer.on('upgrade', (req, socket, head) => {
route(req, socket, head)
})
httpServer.on('upgrade', (req, socket, head) => {
route(req, socket, head)
})
13 replies
RRailway
Created by proudparrot2 on 5/10/2024 in #✋|help
Pnpm install failing
No description
12 replies
NNuxt
Created by proudparrot2 on 5/8/2024 in #❓・help
Object literal may only specify known properties, and 'ui' does not exist in type InputConfig
Hi there, I'm trying to specify icon packs to use with Nuxt UI. However, when I go to put them into my Nuxt config as specified in the Theming section of the docs (https://ui.nuxt.com/getting-started/theming#collections), TypeScript complains that ui does not exist in type InputConfig ... and, for some reason, Nuxt UI stops working (it was working before adding the ui object. Nuxt config:
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxt/ui'],
ui: {
icons: ['lucide']
}
})
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxt/ui'],
ui: {
icons: ['lucide']
}
})
4 replies
CDCloudflare Developers
Created by proudparrot2 on 4/7/2024 in #general-help
Minecraft server over Cloudflare Zero Trust Tunnels
A few months ago, I connected a Cloudflare tunnel to my cloud server and linked a domain to tcp://localhost:25565 in order to play on a Minecraft server, and it worked fine. However, I am unable to reproduce this to play on a new Minecraft server. Was there an update to tunnels that blocked this? If not, could you help me troubleshoot my current setup? I want to be able to link a domain to my Minecraft server without revealing my origin IP to prevent abuse.
24 replies
SSolidJS
Created by proudparrot2 on 3/29/2024 in #support
<Index> with stores
Hello there, I'm building an application where I have a store defined in a separate non-component file which I have an array of objects being stored in there and being updated on a function. I'm mapping that store using <Index> using the setup below (openWindows is the store)
<Index each={openWindows}>{(data) => <p>component goes here</p>}</Index>
<Index each={openWindows}>{(data) => <p>component goes here</p>}</Index>
It starts out as an empty array, but when I add items to the store, only the first index in the store ends up being displayed. I'm verifying this by checking the length of openWindows
<p>{openWindows().length}</p>
<p>{openWindows().length}</p>
The count goes up, but no new elements are being displayed. Any suggestions would be great :)
26 replies
RRailway
Created by proudparrot2 on 3/1/2024 in #✋|help
A records
Hi, I want to attach a custom domain to my Railway project using FreeDNS, however, they don't allow you to use CNAME records without prior approval (which takes a while). Is there any way to use an A record instead?
7 replies
RRailway
Created by proudparrot2 on 7/24/2023 in #✋|help
Banned dependencies
Where does Railway get the dependencies to not allow the container to start? https://parrot.is-really-hot.wtf/oamqaoBD My package.json doesn't have this dependency
11 replies
RRailway
Created by proudparrot2 on 7/20/2023 in #✋|help
Private Networking
I'm trying to deploy Plausible Analytics via a Docker image, and have both that and Postgres installed in an environment. I tried to deploy a Clickhouse DB via Docker Image, but to no avail. I did find this template, https://railway.app/template/clickhouse, but I can't figure out how to get the URL from that and reference it in an ENV in the Plausible service. Would this have something to do with private networking? I've tried opening PN on the Clickhouse DB and referencing it (clickhouse.railway.internal) as CLICKHOUSE_DATABASE_URL in Plausible, but its saying that it's an invalid URL. Do I have to put a port or protocol in front of it? (CH is running on port 8123)
24 replies
RRailway
Created by proudparrot2 on 7/5/2023 in #✋|help
New Pricing
9 replies
RRailway
Created by proudparrot2 on 7/5/2023 in #✋|help
New Pricing
4 replies
RRailway
Created by proudparrot2 on 3/21/2023 in #✋|help
What's the best approach for this?
I have a Discord bot that uses the quick.db npm package to store data. It currently reads and writes from a database.sqlite file which stores all the data. When I upload my project to Railway, the database works fine - stores data, reads it, perfectly fine. However, when I any new changes to my project, the database gets overwritten by a new one. This was mostly expected for a problem like this, so I though I'd ask to see what's the best approach for this. a. Is there a way to have Railway push the database back to the GitHub repository, so when I pull those changes on my local machine, edit, and push it back again, everything will be synced? b. Or, the most realistic way of saying this, could I use a MySQL service on Railway? I'm more leaning towards the MySQL option, but I'm not sure how much it would cost per month, or what that would look like. If anyone could give me some pointers, that'd be greatly appreciated!
21 replies
RRailway
Created by proudparrot2 on 2/24/2023 in #✋|help
Custom Domain isn't updating along with up.railway.app domain
Hey there, I have a website on node.js that serves web content. When I push my changes to GitHub, it says deployed and all that good stuff. When I visit my domain, however, I see that it hasn't updated to reflect the new changes, yet the default domain, on up.railway.app, is updated. It takes a few horus to update. Does anybody know why this would be happening? https://artclass.site (custom domain) https://drawing-tips.up.railway.app (default domain)
13 replies
RRailway
Created by proudparrot2 on 11/22/2022 in #✋|help
Questions about pricing
Hi, I’m a new Railway user that primarily uses it for Discord bots. I was wondering, do the free plan resources renew every month, and is there a way to check when they do?
8 replies