Coder Social home page Coder Social logo

Source of embeds about swego HOT 8 CLOSED

jenetiks avatar jenetiks commented on May 29, 2024
Source of embeds

from swego.

Comments (8)

nodauf avatar nodauf commented on May 29, 2024

Sure,
Do you run with go run src/webserver.go or did you build it (and how) ?

from swego.

jenetiks avatar jenetiks commented on May 29, 2024

built following wiki exactly, customized yaml config (ip, port, un, pw, directories). Only one edit in the Makefile and that was commenting out the 386 check as it was causing issues. Built fine after doing that.

from swego.

nodauf avatar nodauf commented on May 29, 2024

I did some modification. Could you try:

git clone https://github.com/nodauf/Swego.git
cd Swego/src
rm assets/embedded/*
make

from swego.

jenetiks avatar jenetiks commented on May 29, 2024

So I saw the changes that were made to the embedded.go file. Could you elaborate a bit on how/why that would fix the persistent files?

from swego.

nodauf avatar nodauf commented on May 29, 2024

I am not sure to following you.
The change is just to fix a visual issue where / was displaying when the folder was empty.

I change the Makefile as the build section was missing the static files.

from swego.

jenetiks avatar jenetiks commented on May 29, 2024

so after removing the files from src/assets/embedded (before a fresh clone/make), the files were still being served by the webserver, and were available for retrieval. That's the part im confused with. It was as if they were cached somewhere but I was unable to locate that cache.

Phyiscally, the folder 'src/assets/embedded' was empty, but the files were still being made available

from swego.

nodauf avatar nodauf commented on May 29, 2024

There is no cache. The files are inside the binary.

from swego.

jenetiks avatar jenetiks commented on May 29, 2024

Ah okay. That makes more sense than a phantom cache.

Thanks for your timeliness and responses

from swego.

Related Issues (7)

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.