Comments (2)
Hello, @pnorman , thank you for sharing.
I have never tried a HTTPS terminator as you did, but I just used "charites serve" command and host the live preview in my localhost. (or from local server through http protocol.)
As far as I know, the charites is designed for http only now because the serve.ts use http, and there is no information on the certificate.
https://github.com/unvt/charites/blob/main/src/commands/serve.ts#L65-L68
I am not good at coding, but I think we can create another command like "charites serve-https" in the future by adding another version of "serve.ts" and related scripts.
(On the other hand, charites is a styling tool and I am not using it for a permanent hosting.
So, at least to me, http is good enough.)
I would appreciate any advice from @keichan34 and/or @miya0001 if you have any.
Please excuse me if I am wrong in terms of coding!
Thank you!!
from charites.
No, there shouldn't be another command. shared.js should be agnostic to protocol - is there any reason a relative URL wouldn't work? I'll have to test when I get some time.
from charites.
Related Issues (20)
- Refactor preview app.js files to reduce duplicated code
- ">" causes some issue when running "build" HOT 2
- LivePreview has some issue without center and zoom in the style.yml.
- All write-related filesystem errors are being reported as "permission denied" HOT 3
- E2E Testing the live preview feature of charites by playwright
- Update default provider to maplibre 2.x HOT 1
- Support for sprites in the serve command
- Typo (??) in help for initialize HOT 3
- Refactor the sprite interface and documentation
- Scheduled CI for building docs has no longer succeeded
- Keep running `charites build --watch ...` command if invalid syntax error
- PMTiles support HOT 2
- [urgent] requires upgrading Transifex CLI tool HOT 27
- Release new version with pmtiles support HOT 3
- chore: upgrade maplibre to v3 HOT 2
- delete windows test on github actions
- discussion: keep mapbox supports or not HOT 6
- [bug] `-i` and `-o` options should be just a optional parameters HOT 1
- feat: Add SDF option in build and serve command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charites.