fix launch issue
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
</div>
|
||||
|
||||
<div id="stepsContainer" class="launch-steps-container">
|
||||
<!-- Your custom steps will be added here -->
|
||||
<!-- Steps will be added here by JavaScript -->
|
||||
</div>
|
||||
|
||||
<div class="text-center mt-4">
|
||||
@@ -68,6 +68,9 @@
|
||||
url: '{{ portainer_settings.url if portainer_settings else "" }}',
|
||||
api_key: '{{ portainer_settings.api_key if portainer_settings else "" }}'
|
||||
};
|
||||
|
||||
// Pass CSRF token to JavaScript
|
||||
window.csrfToken = '{{ csrf_token }}';
|
||||
</script>
|
||||
<script src="{{ url_for('static', filename='js/launch_progress.js') }}"></script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user