mirror of
https://github.com/wassname/talk.git
synced 2026-10-04 13:10:23 +08:00
[CORL-436] Embed Code (#2398)
* feat: initial implementation * fix: moved embed configuration to advanced * feat: added copy button to embed code * fix: removing unused line
This commit is contained in:
1 parent
bc0b0d0339
commit
d312d380ae
15 files changed
+214
-14
No files matched your search
@@ -0,0 +1,5 @@
|
||||
export default function getLocationOrigin() {
|
||||
return (
|
||||
location.origin || `${window.location.protocol}//${window.location.host}`
|
||||
);
|
||||
}
|
||||
@@ -8,3 +8,4 @@ export { default as ensureNoEndSlash } from "./ensureNoEndSlash";
|
||||
export { default as parseQuery } from "./parseQuery";
|
||||
export { default as stringifyQuery } from "./stringifyQuery";
|
||||
export { default as pureMerge } from "./pureMerge";
|
||||
export { default as getLocationOrigin } from "./getLocationOrigin";
|
||||
Reference in new issue
Block a user