Skip to content

Commit

Permalink
fix: copying admin-ui frontend files
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Jan 1, 2022
1 parent 94e65ec commit 19e0485
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions setup_app/installers/config_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,4 @@ def install_admin_ui_frontend(self):
run_cmd = '{} {}'.format(cmd_path, cmd)
self.run(['/bin/su', 'node','-c', run_cmd], source_dir)

admin_ui_path = '/var/www/html/admin'

if not os.path.exists(admin_ui_path):
os.makedirs(admin_ui_path)

self.run(['cp', '-r', '-f', os.path.join(source_dir, 'dist/*'), admin_ui_path])
self.copyTree(os.path.join(source_dir, 'dist'), '/var/www/html/admin')

0 comments on commit 19e0485

Please sign in to comment.