Skip to content

Enable to change root path #2

@deadcheat

Description

@deadcheat

what

for example,

real path:
/tmp/assets/images/example.png

virtual path:
/images/example.png

specified on command line: awsset -base / /tmp/assets/images

or
/statics/images/example.png

specified on command line: awsset -base /statics /tmp/assets/images

how

  1. separate base path from specified path( if path is /tmp/assets/images, base name is images)
  2. join base path and specified path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions