Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-SunbirdEd-portal-old
Commits
09ada79d
Commit
09ada79d
authored
2 years ago
by
Rajesh Kumaravel
Browse files
Options
Download
Patches
Plain Diff
Issue #ED-393 feat: Externalie CSP package implemented in portal backend
parent
e42b93f6
release-5.1.1
filters_5.1.1
gcp_test
release-5.1.0
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/helpers/cloudStorage/index.js
+2
-1
src/app/helpers/cloudStorage/index.js
with
2 additions
and
1 deletion
+2
-1
src/app/helpers/cloudStorage/index.js
+
2
−
1
View file @
09ada79d
...
...
@@ -17,7 +17,7 @@ const cloudProvider = envHelper.sunbird_cloud_storage_provider;
* Based on Environment Cloud Provider value
* Export respective Storage Service
*/
if
(
!
cloudProvider
)
throw
new
Error
(
"
Cloud Storage Service - Provider is not initialized
"
);
switch
(
cloudProvider
)
{
case
'
azure
'
:
let
azureConfig
=
{
...
...
@@ -57,5 +57,6 @@ switch (cloudProvider) {
exports
.
CLOUD_CLIENT
=
gcpStorage
;
break
;
default
:
throw
new
Error
(
"
Cloud Storage Service - Provider is not initialized or supported
"
);
break
;
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets