serverless-client-s3 icon indicating copy to clipboard operation
serverless-client-s3 copied to clipboard

client path issues

Open jfaraklit opened this issue 8 years ago • 1 comments

After deployment, all the files are directly copied to bucket root and no folder structure made it. This breaks the index.html paths. Can we deploy the same folder structure directly to bucket?

jfaraklit avatar May 26 '16 14:05 jfaraklit

ok, I modified line 270 to < Key: fileKey.replace(//g, '/'),> to create objects inside folder style. By default it's adding \ (backslash) so I replaced it with (/) forward slash.

jfaraklit avatar May 27 '16 17:05 jfaraklit