Giter Club home page Giter Club logo

Comments (2)

ubukawa avatar ubukawa commented on August 10, 2024

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.

pnorman avatar pnorman commented on August 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.