Skip to content

Is there a way to alias Github URLs? #791

@davestewart

Description

@davestewart

Hey Ives,

I hope you're doing well today :)

I'm using CS as the main way to demo my OS project Pathify, and I love it!

I want to add a second, simpler, demo to the project though, so the folder structure will change from:

demo/

to:

demos/
    features/
    hello-world/

However, the problem is going to be, that the originally-shared /s/github/... URL is already out there, so if I change the repository folder structure, that link won't work any more!

As such, is there (or could there be?) a way to "alias" repository URLs, for example:

key value
name Vuex Pathify Demo
type alias
public_url https://codesandbox.io/u/davestewart/s/vuex-pathify-demo
repo_url https://github.com/davestewart/vuex-pathify/tree/master/demos/features

That way, if the GitHub structure ever changes, I can just update the repo_url the alias points to.

This could give project owners a greater sense of ownership on the CS platform as they could look to manage and link directly to their demos.

Does that make sense?

Maybe I missed something and there is already an easier way to share canonical URLs...

Cheers,
Dave

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions