Created
June 25, 2018 08:20
-
-
Save islandjoe/c9acf8f11d54bea03b3721ae14534a43 to your computer and use it in GitHub Desktop.
Meme Machine: routes.swift - Paths for the 3 folders
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let rootDir = DirectoryConfig.detect().workDir | |
let uploadDir = URL(fileURLWithPath: "\(rootDir)Public/uploads") | |
let origDir = uploadDir.appendingPathComponent("originals") | |
let thumbsDir = uploadDir.appendingPathComponent("thumbs") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment