brunobernardino / budgetzen-web Goto Github PK
View Code? Open in Web Editor NEWSimple, Encrypted Budgets & Expenses. 💵
Home Page: https://app.budgetzen.net
License: GNU Affero General Public License v3.0
Simple, Encrypted Budgets & Expenses. 💵
Home Page: https://app.budgetzen.net
License: GNU Affero General Public License v3.0
Hi!
This looks great, I just can't get it to run..
I do a make start
, which launches deno and that works.
Then a simple reverse proxy in nginx:
proxy_pass $upstream;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_cache_bypass $http_upgrade;
Leads to a bunch of mimetype browser console errors like:
The resource from “https://budget.example.com/public/scss/style.scss” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
Happens for css
, scss
, ts
, and js
.
Fixing that by doing
location ~ \.css {
add_header Content-Type text/css;
}
location ~ \.js {
add_header Content-Type application/javascript;
}
location ~ \.scss {
add_header Content-Type text/css;
}
location ~ \.ts {
add_header Content-Type application/javascript;
}
Gets rid of those errors, leaving only:
Uncaught SyntaxError: unexpected token: 'as' index.ts:26:58
for /public/ts/index.ts.
AFAIK typescript shouldn't be sent to a browser, so I'm not sure why that file is requested.
Also.. the deployment instructions in the README file could use some elaboration. I feel like I'm missing a lot of info, and I'd love to use your product.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.