0

I am unable to open network path from browser using below code. Browser throws error saying unable to load local resources. Please advise.

    public openUrl() {
    window.open(`file:///server/folder1/filelist`);
  }



<a title="{{summaryValues.TraceLogPath}}"
                                href="javascript:void(0)"  rel="noopener noreferrer"
                                (click)="openUrl()">{{BenchmarkTraceLog}}</a>
grrigore
  • 1,050
  • 1
  • 21
  • 39
Shreyas Murali
  • 329
  • 1
  • 2
  • 17

1 Answers1

0

Chrome doesn't let us access the local resource. 1. Disabling file security is the option to access data from shared path. 2. Usage of API will do the needful.

Shreyas Murali
  • 329
  • 1
  • 2
  • 17