Comments (8)
Sure,
Do you run with go run src/webserver.go
or did you build it (and how) ?
from swego.
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.
I did some modification. Could you try:
git clone https://github.com/nodauf/Swego.git
cd Swego/src
rm assets/embedded/*
make
from swego.
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.
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.
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.
There is no cache. The files are inside the binary.
from swego.
Ah okay. That makes more sense than a phantom cache.
Thanks for your timeliness and responses
from swego.
Related Issues (7)
- License HOT 1
- Wrong directory HOT 4
- [Feature Request] Disable directory listing HOT 1
- [Feature Request] 2FA HOT 1
- Dependency Dashboard
- Basic authentication does not work HOT 2
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 swego.