diff --git a/doc/fileupload/AdvancedDoc.vue b/doc/fileupload/AdvancedDoc.vue index 95a46750b..68d2c48c2 100644 --- a/doc/fileupload/AdvancedDoc.vue +++ b/doc/fileupload/AdvancedDoc.vue @@ -3,7 +3,7 @@

FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.

- + diff --git a/doc/fileupload/AutoDoc.vue b/doc/fileupload/AutoDoc.vue index 6c83588f4..322e9e435 100644 --- a/doc/fileupload/AutoDoc.vue +++ b/doc/fileupload/AutoDoc.vue @@ -3,7 +3,7 @@

When auto property is enabled, a file gets uploaded instantly after selection.

- +
diff --git a/doc/fileupload/BasicDoc.vue b/doc/fileupload/BasicDoc.vue index 31ad586fe..230847943 100644 --- a/doc/fileupload/BasicDoc.vue +++ b/doc/fileupload/BasicDoc.vue @@ -3,7 +3,7 @@

FileUpload basic mode provides a simpler UI as an alternative to default advanced mode.

- +
diff --git a/public/upload.php b/public/upload.php deleted file mode 100644 index c3d453155..000000000 --- a/public/upload.php +++ /dev/null @@ -1 +0,0 @@ -Fake Upload Process

'; ?> \ No newline at end of file diff --git a/server/api/upload.js b/server/api/upload.js new file mode 100644 index 000000000..e048fb1a9 --- /dev/null +++ b/server/api/upload.js @@ -0,0 +1,7 @@ +export default defineEventHandler((event) => { + return { + headers: { 'Access-Control-Allow-Origin': '*' }, + statusCode: 200, + statusMessage: 'Fake Upload Process' + }; +});