-
+
+
+
+
+
MalwareMultiScan UI
+
+ A demo of a microservice
+ to scan your files against multiple AV solutions
+
+
+
+
-
-
diff --git a/MalwareMultiScan.Ui/middleware/README.md b/MalwareMultiScan.Ui/middleware/README.md
deleted file mode 100644
index 01595de..0000000
--- a/MalwareMultiScan.Ui/middleware/README.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# MIDDLEWARE
-
-**This directory is not required, you can delete it if you don't want to use it.**
-
-This directory contains your application middleware.
-Middleware let you define custom functions that can be run before rendering either a page or a group of pages.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing#middleware).
diff --git a/MalwareMultiScan.Ui/nuxt.config.js b/MalwareMultiScan.Ui/nuxt.config.js
index 3cd31d7..9b2679e 100644
--- a/MalwareMultiScan.Ui/nuxt.config.js
+++ b/MalwareMultiScan.Ui/nuxt.config.js
@@ -1,46 +1,40 @@
export default {
- // Global page headers (https://go.nuxtjs.dev/config-head)
head: {
- title: 'malware-multi-scan-ui',
+ title: 'MalwareMultiScan UI',
meta: [
{ charset: 'utf-8' },
- { name: 'viewport', content: 'width=device-width, initial-scale=1' },
- { hid: 'description', name: 'description', content: '' }
+ { name: 'viewport', content: 'width=device-width, initial-scale=1, shrink-to-fit=no' },
],
- link: [
- { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
- ]
+ bodyAttrs: {
+ class: "bg-light"
+ }
},
- // Global CSS (https://go.nuxtjs.dev/config-css)
- css: [
- ],
-
- // Plugins to run before rendering page (https://go.nuxtjs.dev/config-plugins)
- plugins: [
- ],
-
- // Auto import components (https://go.nuxtjs.dev/config-components)
components: true,
- // Modules for dev and build (recommended) (https://go.nuxtjs.dev/config-modules)
buildModules: [
- // https://go.nuxtjs.dev/typescript
'@nuxt/typescript-build',
],
- // Modules (https://go.nuxtjs.dev/config-modules)
modules: [
- // https://go.nuxtjs.dev/bootstrap
'bootstrap-vue/nuxt',
- // https://go.nuxtjs.dev/axios
'@nuxtjs/axios',
+ '@nuxtjs/proxy'
],
- // Axios module configuration (https://go.nuxtjs.dev/config-axios)
- axios: {},
+ axios: {
+ proxy: true,
+ prefix: '/api/'
+ },
- // Build Configuration (https://go.nuxtjs.dev/config-build)
- build: {
+ proxy: {
+ '/api': {
+ target: process.env.API_URL || 'http://localhost:5000',
+ changeOrigin: true
+ }
+ },
+
+ bootstrapVue: {
+ icons: true
}
}
diff --git a/MalwareMultiScan.Ui/package.json b/MalwareMultiScan.Ui/package.json
index 4263261..aaef633 100644
--- a/MalwareMultiScan.Ui/package.json
+++ b/MalwareMultiScan.Ui/package.json
@@ -11,6 +11,7 @@
"dependencies": {
"@nuxt/typescript-runtime": "^2.0.0",
"@nuxtjs/axios": "^5.12.2",
+ "@nuxtjs/proxy": "^2.0.1",
"bootstrap": "^4.5.2",
"bootstrap-vue": "^2.17.3",
"core-js": "^3.6.5",
diff --git a/MalwareMultiScan.Ui/pages/README.md b/MalwareMultiScan.Ui/pages/README.md
deleted file mode 100644
index 1d5d48b..0000000
--- a/MalwareMultiScan.Ui/pages/README.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# PAGES
-
-This directory contains your Application Views and Routes.
-The framework reads all the `*.vue` files inside this directory and creates the router of your application.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing).
diff --git a/MalwareMultiScan.Ui/pages/index.vue b/MalwareMultiScan.Ui/pages/index.vue
index 8182e6d..2be457b 100644
--- a/MalwareMultiScan.Ui/pages/index.vue
+++ b/MalwareMultiScan.Ui/pages/index.vue
@@ -1,75 +1,4 @@
-
-
-
-
- malware-multi-scan-ui
-
-
-
-
+
-
-
-
diff --git a/MalwareMultiScan.Ui/plugins/README.md b/MalwareMultiScan.Ui/plugins/README.md
deleted file mode 100644
index ca1f9d8..0000000
--- a/MalwareMultiScan.Ui/plugins/README.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# PLUGINS
-
-**This directory is not required, you can delete it if you don't want to use it.**
-
-This directory contains Javascript plugins that you want to run before mounting the root Vue.js application.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/plugins).
diff --git a/MalwareMultiScan.Ui/static/README.md b/MalwareMultiScan.Ui/static/README.md
deleted file mode 100644
index cf00435..0000000
--- a/MalwareMultiScan.Ui/static/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# STATIC
-
-**This directory is not required, you can delete it if you don't want to use it.**
-
-This directory contains your static files.
-Each file inside this directory is mapped to `/`.
-Thus you'd want to delete this README.md before deploying to production.
-
-Example: `/static/robots.txt` is mapped as `/robots.txt`.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#static).
diff --git a/MalwareMultiScan.Ui/static/favicon.ico b/MalwareMultiScan.Ui/static/favicon.ico
deleted file mode 100644
index 3632d0c..0000000
Binary files a/MalwareMultiScan.Ui/static/favicon.ico and /dev/null differ