GithubHelp home page GithubHelp logo

Comments (6)

anadius avatar anadius commented on August 29, 2024 1

Yeah, just edit build.js. I'm not going to hold your hand, you can do it yourself.

from gd-efc.

anadius avatar anadius commented on August 29, 2024

...what? What are you trying to do? The only static page is the index.html file I host here on GitHub.

from gd-efc.

bm92aWJldnJvcw avatar bm92aWJldnJvcw commented on August 29, 2024

...what? What are you trying to do? The only static page is the index.html file I host here on GitHub.

was thinking of if it can all work statically? if not maybe the decryption server will need a server actually? but then the website hosted statically isn't generating the decryption files correctly...

by not generating correctly I mean the worker.js and other files made contain just source of the 404 not found page!

edit: I added respective js into the respective html files and I think it should atleast give decryption server files so that I host it on actual server?

from gd-efc.

bm92aWJldnJvcw avatar bm92aWJldnJvcw commented on August 29, 2024

I'm pretty sure now something is going wrong for the build and index html css and js hosted on static site. It's decryption file encrypt.html is just html of 404 page i.e. <title>Page Not Found</title>
reason why I;m wondering how far can the code be hosted statically..

from gd-efc.

anadius avatar anadius commented on August 29, 2024

If you want to host the decryption page, like this, and you want to have the build.html page working properly, you need to host templates folder too. That's why you get a 404 error pages. Because you host only some of the required files. Just host all files from this repo...

Files for decryption server MUST be hosted on a server. Either PHP one or Cloudflare Workers server. You can't host them statically.

from gd-efc.

bm92aWJldnJvcw avatar bm92aWJldnJvcw commented on August 29, 2024

If you want to host the decryption page, like this, and you want to have the build.html page working properly, you need to host templates folder too. That's why you get a 404 error pages. Because you host only some of the required files. Just host all files from this repo...

Files for decryption server MUST be hosted on a server. Either PHP one or Cloudflare Workers server. You can't host them statically.

Oh! that was easy. Thanks. I didn't upload those... my bad.
It makes the correct files on one static project where I could upload the files.
I have another project which is more restricted. So is there a way to add those templates into the html or js?

from gd-efc.

Related Issues (19)

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.