Giter VIP home page Giter VIP logo

Comments (12)

damian-kolakowski avatar damian-kolakowski commented on May 5, 2024

hi @roman-yu

could you please give me a screenshot from Target -> Build Phases -> Copy Files settings section ?

best
dk

from swifter.

msaehn avatar msaehn commented on May 5, 2024

there is a problem with paths in swifter.
now
server["/resources/:file"] = HttpHandlers.directory(publicDir)
matchs resources/file.css but not resources/css/file.css

this could be fixed with something like
server["/resources/:path"] = HttpHandlers.directory(publicDir) server["/resources/:folder/:file"] = HttpHandlers.directory(publicDir)

but since 8fecb35 this would be a little compilicated.

from swifter.

roman-yu avatar roman-yu commented on May 5, 2024

Below is my project structure, please take a look:
screen shot 2016-01-14 at 11 48 48 am

from swifter.

tanner0101 avatar tanner0101 commented on May 5, 2024

@roman-yu you should take a look at my fork of this project https://github.com/tannernelson/vapor

It has a Public folder where you can easily put all of your style sheets / images that you want publicly available.

from swifter.

damian-kolakowski avatar damian-kolakowski commented on May 5, 2024

@roman-yu thanks for the feedback. You are right. It does not work. I fixed it here: 25e9da7

I am going to release a new version - 1.1.0 with other cool stuff.

@tannernelson You did not fork Swifter. You copied source files without license headers.

from swifter.

nrmtrifork avatar nrmtrifork commented on May 5, 2024

This is a great idea! However it is not released in 1.0.9, it probably going to be released in 1.0.10. Because 25e9da7 is not tagged with "1.0.9".

from swifter.

damian-kolakowski avatar damian-kolakowski commented on May 5, 2024

@nrmtrifork πŸ‘ (I've updated my previous comment).

from swifter.

tanner0101 avatar tanner0101 commented on May 5, 2024

@glock45 There's attribution in the README. I can put the license headers back in the files from this repo. They just seem a little redundant to me.

from swifter.

damian-kolakowski avatar damian-kolakowski commented on May 5, 2024

@tannernelson Yes, please do that. I believe in your good intentions but there are more examples of how you break the rules:

I see copy of @johnno1962 's NSLinux ( https://github.com/johnno1962/NSLinux/blob/master/Sources/Dispatch.swift#L48 ) at your repo ( https://github.com/tannernelson/vapor/blob/master/Sources/LinuxFixes.swift#L156 ). No attribution.

I think you are about to start professional carrier and you don't really pay attention to the licensing. Please think about all those guys from here who spend long evenings to make it work.

It would be much easier for you if you make GitHub fork. There are really cool features coming to Swifter.

from swifter.

tanner0101 avatar tanner0101 commented on May 5, 2024

@glock45 Very good point–you're right.

vapor/vapor@7dc5174

As for forking, Vapor's Response class is already too different to take advantage of re-basing or merging updates from the forked repo I think.

But I'm going to continue watching this repo and contributing for sure. I'm excited to see what's in store.

from swifter.

damian-kolakowski avatar damian-kolakowski commented on May 5, 2024

@tannernelson πŸ‘ thanks man

from swifter.

roman-yu avatar roman-yu commented on May 5, 2024

@glock45, that's great, looking forward to the new version!

@tannernelson, thanks I will take a look.

from swifter.

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.