Skip to content

Commit 25694c8

Browse files
committed
Fix CORS header issue on node listing
1 parent b4da7d4 commit 25694c8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ This file is a running track of new features and fixes to each version of the pa
33

44
This project follows [Semantic Versioning](http://semver.org) guidelines.
55

6-
## v0.7.0 (Derelict Dermodactylus)
6+
## v0.7.0-beta.2 (Derelict Dermodactylus)
7+
### Fixed
8+
* `[beta.1]` — Fixes a CORS header issue due to a wrong API endpoint being provided in the administrative node listing.
9+
10+
## v0.7.0-beta.1 (Derelict Dermodactylus)
711
### Added
812
* File manager now supports mass deletion option for files and folders.
913
* Support for CS:GO as a default service option selection.

resources/themes/pterodactyl/admin/nodes/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</tr>
5656
@foreach ($nodes as $node)
5757
<tr>
58-
<td class="text-center text-muted left-icon" data-action="ping" data-secret="{{ $node->daemonSecret }}" data-location="{{ $node->scheme }}://{{ $node->fqdn }}:{{ $node->daemonListen }}"><i class="fa fa-fw fa-refresh fa-spin"></i></td>
58+
<td class="text-center text-muted left-icon" data-action="ping" data-secret="{{ $node->daemonSecret }}" data-location="{{ $node->scheme }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/v1"><i class="fa fa-fw fa-refresh fa-spin"></i></td>
5959
<td><a href="{{ route('admin.nodes.view', $node->id) }}">{{ $node->name }}</td>
6060
<td>{{ $node->location->short }}</td>
6161
<td>{{ $node->memory }} MB</td>

0 commit comments

Comments
 (0)