Archived
1
0

plugin.ts: Add homepageURL to plugin and application

This commit is contained in:
Anmol Sethi
2020-11-03 21:45:25 -05:00
parent 687094802e
commit 2a13d003d3
4 changed files with 18 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import * as pluginapi from "../../../typings/pluginapi"
export const displayName = "Test Plugin"
export const routerPath = "/test-plugin"
export const homepageURL = "https://example.com"
export const description = "Plugin used in code-server tests."
export function init(config: pluginapi.PluginConfig) {
@ -27,6 +28,7 @@ export function applications(): pluginapi.Application[] {
path: "/test-app",
description: "This app does XYZ.",
homepageURL: "https://example.com",
},
]
}