Skip to content

Commit

Permalink
rename into extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrehault committed May 7, 2024
1 parent 16c9057 commit 863ddae
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 5 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions extractor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Web page extractor
File renamed without changes.
4 changes: 2 additions & 2 deletions extracter/package-lock.json → extractor/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extracter/package.json → extractor/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@nuclia/extracter",
"name": "@nuclia/extractor",
"version": "1.0.0",
"description": "",
"main": "index.mjs",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ContentType, LinkExtraParams, SyncEntity, TO_BE_CHECKED } from '../sync

require('localstorage-polyfill');

const EXTRACTER_ENDPOINT = 'http://localhost:8091/extract';
const EXTRACTOR_ENDPOINT = 'http://localhost:8091/extract';

export interface SyncSingleFileUseCase {
execute(): Observable<{ success: boolean; message?: string }>;
Expand Down Expand Up @@ -201,7 +201,7 @@ export class SyncSingleFile implements SyncSingleFileUseCase {
extraLinkParams: LinkExtraParams,
): Observable<{ html: string; title: string; error?: string }> {
return from(
fetch(EXTRACTER_ENDPOINT, {
fetch(EXTRACTOR_ENDPOINT, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 863ddae

Please sign in to comment.