Jorge
WWasp-lang
•Created by Jorge on 9/20/2024 in #đŸ™‹questions
Plan switching not reflected in the database
Solved, my webhook was not configured đŸ˜… thanks
6 replies
WWasp-lang
•Created by IT Father on 10/25/2024 in #đŸ™‹questions
Google oAuth issue on production
custom domain for both like:
- frontend: app.mycustomdomain.com
- backend: back.mycustomdomain.com
Instead of pointing on e.g. back.mycustomdomain.com, I've update to point on the railway default subdomain https://server-production-xxxxx.up.railway.app/
17 replies
WWasp-lang
•Created by IT Father on 10/25/2024 in #đŸ™‹questions
Google oAuth issue on production
Seems to be a domain issue, solved pointing directly to the railway url instead my custom domain for the backend. Thanks đŸ™‚
17 replies
WWasp-lang
•Created by IT Father on 10/25/2024 in #đŸ™‹questions
Google oAuth issue on production
I've the same error message "An unknown error occurred while trying to log in with the OAuth provider.". It happens only in my railway env but works on my local env. JWT is configured on railway server.
Please find the server logs attached.
17 replies
WWasp-lang
•Created by Jorge on 10/8/2024 in #đŸ™‹questions
Local file access in Query
@martinsos Interesting thanks, but in my case it's not exactly a json file. Fortunately, I've found another workaround đŸ™‚
25 replies
WWasp-lang
•Created by Jorge on 10/8/2024 in #đŸ™‹questions
Local file access in Query
Did not find better but this seems to work:
import * as fs from 'fs';
import * as path from 'path';
import { fileURLToPath } from 'url';
const dirname = path.dirname(fileURLToPath(import.meta.url));
const filePath = path.join(dirname, '..', '..', 'web-app', 'public', 'data', 'test.jsonl');
fs.readFile(filePath, 'utf8', (err, data) => {
if (err) {
console.error('Error reading file:', err);
return;
}
console.log(data);
});
25 replies
WWasp-lang
•Created by Jorge on 10/8/2024 in #đŸ™‹questions
Local file access in Query
@kapa.ai I tried you snippet:
[ Server!] [Error: ENOENT: no such file or directory, open '/public/data/test.jsonl'] {
[ Server!] errno: -2,
[ Server!] code: 'ENOENT',
[ Server!] syscall: 'open',
[ Server!] path: '/public/data/test.jsonl'
[ Server!] }
25 replies
WWasp-lang
•Created by Jorge on 10/8/2024 in #đŸ™‹questions
Local file access in Query
@kapa.ai what's the recommended location for files in the project?
25 replies
WWasp-lang
•Created by Jorge on 10/8/2024 in #đŸ™‹questions
Local file access in Query
@kapa.ai Is it possible to read a local file in a query implementation defined in operations.ts ?
25 replies
WWasp-lang
•Created by Jorge on 10/8/2024 in #đŸ™‹questions
Local file access in Query
@kapa.ai refresh
25 replies
WWasp-lang
•Created by Jorge on 9/22/2024 in #đŸ™‹questions
Open Saas template update
I see, I understand the mindset of OpenSaas better now. Thank you! I previously had more of a framework-oriented vision.
9 replies
WWasp-lang
•Created by Jorge on 9/22/2024 in #đŸ™‹questions
Open Saas template update
Thanks for your clear and detailed answer, good to know đŸ™‚
9 replies
WWasp-lang
•Created by Jorge on 9/19/2024 in #đŸ™‹questions
Access to Manage Subscription
@kapa.ai cannot find version in app/package.json
18 replies
WWasp-lang
•Created by Jorge on 9/19/2024 in #đŸ™‹questions
Access to Manage Subscription
@kapa.ai how can I get my current Open SaaS version?
18 replies
WWasp-lang
•Created by Jorge on 9/19/2024 in #đŸ™‹questions
Access to Manage Subscription
Thanks for your help
18 replies
WWasp-lang
•Created by Jorge on 9/19/2024 in #đŸ™‹questions
Access to Manage Subscription
Oh! You are completly right: https://github.com/wasp-lang/open-saas/blob/main/template/app/.env.server.example
My version is already outdated đŸ™‚
18 replies
WWasp-lang
•Created by đŸ•³ on 9/18/2024 in #đŸ™‹questions
AWS file uploading setup
@sodic you're welcome, glad to help
21 replies
WWasp-lang
•Created by đŸ•³ on 9/18/2024 in #đŸ™‹questions
AWS file uploading setup
great đŸ™‚
21 replies