Skip to content

Move the favicon so Teleport serves the static file#26084

Merged
ryanclark merged 1 commit intomasterfrom
ryan/move-favicon
May 12, 2023
Merged

Move the favicon so Teleport serves the static file#26084
ryanclark merged 1 commit intomasterfrom
ryan/move-favicon

Conversation

@ryanclark
Copy link
Copy Markdown
Member

Vite copies files from public/ to the output directory, which isn't ideal as Teleport doesn't serve static assets unless they're in the app/ directory inside the output directory.

There's no option to move where it copies to, so to get Teleport to serve the favicon, I moved it into public/app so it outputs it into the app folder.

kimlisa
kimlisa approved these changes May 11, 2023
Copy link
Copy Markdown
Contributor

@marcoandredinis marcoandredinis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@ryanclark ryanclark added this pull request to the merge queue May 12, 2023
Merged via the queue into master with commit cad5633 May 12, 2023
@ryanclark ryanclark deleted the ryan/move-favicon branch May 12, 2023 14:53
@public-teleport-github-review-bot
Copy link
Copy Markdown

@ryanclark See the table below for backport results.

Branch Result
branch/v13 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants