feat: add homeassistant integration (#578)
This commit is contained in:
5
packages/common/src/url.ts
Normal file
5
packages/common/src/url.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const appendPath = (url: URL | string, path: string) => {
|
||||
const newUrl = new URL(url);
|
||||
newUrl.pathname += path;
|
||||
return newUrl;
|
||||
};
|
||||
Reference in New Issue
Block a user