Skip to content

Use demopublickey instead of real project #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<uc-config
#config
[attr.ctx-name]="uploaderCtxName"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
multiple="true"
sourceList="local, url, camera, dropbox, gdrive"
confirmUpload="false"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<uc-config
ctx-name="my-uploader-2"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
></uc-config>
<uc-file-uploader-minimal
ctx-name="my-uploader-2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<uc-config
ctx-name="my-uploader-3"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
source-list="local, url, camera, dropbox"
></uc-config>
<uc-file-uploader-regular
Expand Down
2 changes: 1 addition & 1 deletion examples/js-custom-tab/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<body>
<div id="app"></div>
<script type="module" src="./src/main.js"></script>
<uc-config ctx-name="my-uploader" pubkey="a6ca334c3520777c0045" source-list="unsplash"></uc-config>
<uc-config ctx-name="my-uploader" pubkey="demopublickey" source-list="unsplash"></uc-config>
<uc-custom-file-uploader ctx-name="my-uploader" class="uc-light"></uc-custom-file-uploader>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/js-custom-tab/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<body>
<div id="app"></div>
<script type="module" src="./main.js"></script>
<uc-config ctx-name="my-uploader" pubkey="a6ca334c3520777c0045" source-list="unsplash"></uc-config>
<uc-config ctx-name="my-uploader" pubkey="demopublickey" source-list="unsplash"></uc-config>
<uc-custom-file-uploader ctx-name="my-uploader"></uc-custom-file-uploader>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/js-uploader/headless.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

<hr>

<uc-config ctx-name="my-uploader" pubkey="a6ca334c3520777c0045" sourceList="local, url, camera, dropbox"></uc-config>
<uc-config ctx-name="my-uploader" pubkey="demopublickey" sourceList="local, url, camera, dropbox"></uc-config>
<uc-file-uploader-regular headless ctx-name="my-uploader" class="uc-light"></uc-file-uploader-regular>
<uc-upload-ctx-provider ctx-name="my-uploader" id="my-uploader-provider"></uc-upload-ctx-provider>
<button id="custom-button">Custom button</button>

<div class="previews" id="previews"></div>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion examples/js-uploader/minimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<a href="/">← All JS Examples</a>
</p>
<hr />
<uc-config ctx-name="my-uploader" pubkey="a6ca334c3520777c0045"></uc-config>
<uc-config ctx-name="my-uploader" pubkey="demopublickey"></uc-config>
<uc-file-uploader-minimal ctx-name="my-uploader" class="uc-light"></uc-file-uploader-minimal>
<uc-upload-ctx-provider
ctx-name="my-uploader"
Expand Down
2 changes: 1 addition & 1 deletion examples/js-uploader/regular.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<hr>
<uc-config
ctx-name="my-uploader"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
sourceList="local, url, camera, dropbox"
></uc-config>
<uc-file-uploader-regular
Expand Down
2 changes: 1 addition & 1 deletion examples/next-uploader-adapter/pages/minimal.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function Minimal() {
</p>
<hr className={st.separator} />

<FileUploaderMinimal onChange={handleChangeEvent} pubkey="a6ca334c3520777c0045" />
<FileUploaderMinimal onChange={handleChangeEvent} pubkey="demopublickey" />

<div className={st.previews}>
{files.map((file) => (
Expand Down
2 changes: 1 addition & 1 deletion examples/next-uploader-adapter/pages/regular.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function Regular() {
</p>
<hr className={st.separator} />

<FileUploaderRegular onChange={handleChangeEvent} pubkey="a6ca334c3520777c0045" />
<FileUploaderRegular onChange={handleChangeEvent} pubkey="demopublickey" />

<div className={st.previews}>
{files.map((file) => (
Expand Down
2 changes: 1 addition & 1 deletion examples/next-uploader/pages/minimal.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function Minimal() {
<>
<uc-config
ctx-name="my-uploader-1"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
></uc-config>
<uc-file-uploader-minimal
ctx-name="my-uploader-1"
Expand Down
2 changes: 1 addition & 1 deletion examples/next-uploader/pages/regular.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function Regular() {
<>
<uc-config
ctx-name="my-uploader-2"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
sourceList="local, url, camera, dropbox"
></uc-config>
<uc-file-uploader-regular
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function FileUploader({ files, uploaderClassName, onChange, theme
apiRef={ctxProviderRef}
onModalClose={handleModalCloseEvent}
onChange={handleChangeEvent}
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
className={cs(uploaderClassName)}
classNameUploader={cs(cssOverrides.fileUploader, { [st.darkModeEnabled]: theme === 'dark' })}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function MinimalView() {

return (
<div>
<FileUploaderMinimal onChange={handleChangeEvent} pubkey="a6ca334c3520777c0045"/>
<FileUploaderMinimal onChange={handleChangeEvent} pubkey="demopublickey"/>

<div className={st.previews}>
{files.map((file) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function RegularView() {

return (
<div>
<FileUploaderRegular onChange={handleChangeEvent} pubkey="a6ca334c3520777c0045"/>
<FileUploaderRegular onChange={handleChangeEvent} pubkey="demopublickey"/>

<div className={st.previews}>
{files.map((file) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default function FileUploader({ files, uploaderClassName, uploaderCtxName
<uc-config
ref={configRef}
ctx-name={uploaderCtxName}
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
multiple={true}
sourceList="local, url, camera, dropbox, gdrive"
confirmUpload={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function MinimalView() {
<div>
<uc-config
ctx-name="my-uploader-2"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
></uc-config>
<uc-file-uploader-minimal
ctx-name="my-uploader-2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function RegularView() {
<div>
<uc-config
ctx-name="my-uploader-3"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
sourceList="local, url, camera, dropbox"
></uc-config>
<uc-file-uploader-regular
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<uc-config
bind:this={configRef}
ctx-name={uploaderCtxName}
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
multiple={true}
sourceList="local, url, camera, dropbox, gdrive"
confirmUpload={false}
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte-uploader/src/routes/minimal/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<div>
<uc-config
ctx-name="my-uploader-2"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
></uc-config>

<uc-file-uploader-minimal
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte-uploader/src/routes/regular/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<div>
<uc-config
ctx-name="my-uploader-3"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
sourceList="local, url, camera, dropbox"
></uc-config>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ onBeforeUnmount(() => {
<uc-config
ref="configRef"
:ctx-name="uploaderCtxName"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
multiple
sourceList="local, url, camera, dropbox, gdrive"
confirmUpload="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default {
<uc-config
ref="configRef"
:ctx-name="uploaderCtxName"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
multiple
sourceList="local, url, camera, dropbox, gdrive"
confirmUpload="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default {
<div>
<uc-config
ctx-name="my-uploader-2"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
></uc-config>

<uc-file-uploader-minimal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default {
<div>
<uc-config
ctx-name="my-uploader-3"
pubkey="a6ca334c3520777c0045"
pubkey="demopublickey"
sourceList="local, url, camera, dropbox"
></uc-config>

Expand Down