1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-05-06 14:41:02 -05:00

removed CSV listing if not CSV present

when reading sources, CSV file were being listed as 'none' when going
through the loop and no file was present. commented that part out so
'none' is not being repeated
This commit is contained in:
ro 2025-05-05 14:29:25 -06:00
parent 7cdd284968
commit c2be80c005

View File

@ -1,6 +1,6 @@
@extends('frame')
@section('title', 'The Bad Space|About')
@section('main-content')
@section('main-content')
@parent
<section>
<article>
@ -40,7 +40,9 @@
@if($source->format == 'csv')
<li><a href="{{$source->url}}">{{$source->url}}</a></li>
@else
<!--
<li>None</li>
-->
@endif
@endforeach
</ul>
@ -58,7 +60,7 @@
<h3>API</h3>
<p>The Bad Space has a public api that can be used to search the database programatically and return results in the JSON format. The API can be accsess at <code>https://thebad.space/api/v1/search</code> by posting a JSON object with the following format: <code>{"url":"search.url"}</code>. Data from API request will be returned in the follow format:</p>
<pre>
<pre>
<code>{
data:{
"listingCount":1,
@ -76,4 +78,4 @@
</pre>
</article>
</section>
@endsection
@endsection