This website requires JavaScript.
Explore
Help
Register
Sign In
JakeHillion
/
storj
Watch
1
Star
0
Fork
0
You've already forked storj
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
6195b8cd52
storj
/
web
/
satellite
/
.env
3 lines
65 B
Bash
Raw
Normal View
History
Unescape
Escape
web/satellite: migrate webpack to vite Migrated webpack to vite. Replaced jest with vitest (because I couldn't resolve 'import.meta' issue) Replaced legacy vue-svg-loader with vite-svg-loader Replaced bip39 dep with bip39-english (it includes only english wordlist) Replaced aws-sdk v2 with aws-sdk V3 (because v2 was throwing some weird error in console. Ref: https://stackoverflow.com/questions/75107933/aws-sdk-contributes-to-build-error-uncaught-typeerror-e-is-not-a-constructor) Renamed VUE_APP_ENDPOINT_URL env variable to VITE_ENDPOINT_URL Removed a ton of dependencies (like babel and jest-related stuff). Tested in Chrome, Safari, Brave, Firefox and Opera browsers. Additionally fixed logout errors from buckets and object browser routes. TODO: try to remove util and stream-browserify dependencies and see if it works Change-Id: I4562649a59eb0ba80c1a672d55c59fceb8c80b23
2023-05-23 15:28:48 +01:00
VITE_ENDPOINT_URL
=
/api/v0/graphql
satellite/console: support hosting Vuetify POC on subdomain This change allows you to host the vuetify app on <x>.example.com where the main app is hosted on example.com. A configuration is added to specify an exact subdomain for cookies. For example, if my production app is hosted on us1.storj.io and my vuetify app is hosted on vuetify.us1.storj.io, the cookie domain should be set to ".us1.storj.io" so that any authentication cookie is accessible to lower-level subdomains. Since the vuetify app does not currently support login/signup on its own, it is still required to first login to the main satellite UI, then navigate to the Vuetify app after the session cookie is set. If the "vuetifypoc" prefix is not desirable when using subdomain hosting for vuetify, the VITE_VUETIFY_PREFIX variable can be modified in web/satellite/.env before running `npm run build-vuetify`. For now, we should keep this prefix because it makes developing on the vuetify app significantly easier if subdomains are not being used. Issue: https://github.com/storj/storj/issues/6144 Change-Id: Iba1a5737892c8ee8f38148a17b94e3222f8798e6
2023-08-02 18:29:42 +01:00
VITE_VUETIFY_PREFIX
=
vuetifypoc
Reference in New Issue
Copy Permalink