mothership-ec / cog

Cog
Other
2 stars 3 forks source link

Windows support #447

Open kuiche opened 9 years ago

kuiche commented 9 years ago

This allows support for windows by allowing all places where files are stored using ':' to use '!'. This is in the public cogules directory (see AssetDump) and the view directory of sites.

Try all kinds of asset use to see if there are any places where the new storage format doesn't either get generated properly or cannot be called properly.

thomasjthomasj commented 9 years ago

@kuiche Thinking about this, I wonder if we should move the routes/controller elsewhere, as they don't really make sense being part of the framework itself. Do you think it would make sense if it were part of CP?

kuiche commented 8 years ago

@thomasjthomasj re: the routes, they totally don't make sense in CP. It's for any file requested like '/cogules/Mothership:Site/filename.png'. We need to capture all file system requests and the way to do that is with a route. Currently they just get passed through, but that doesn't work.

kuiche commented 8 years ago

It's important that "/cogules/Mothership:Site/default.jpg" still maps to the right palce because that's everywhere.